|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FacesConfigBehaviorType<T>
This interface defines the contract for the faces-config-behaviorType
xsd type
Method Summary | |
---|---|
FacesConfigBehaviorType<T> |
behaviorClass(String behaviorClass)
Sets the behavior-class element |
FacesConfigBehaviorType<T> |
behaviorExtension()
Sets the behavior-extension element |
FacesConfigBehaviorType<T> |
behaviorId(String behaviorId)
Sets the behavior-id element |
FacesConfigAttributeType<FacesConfigBehaviorType<T>> |
createAttribute()
Creates a new attribute element |
IconType<FacesConfigBehaviorType<T>> |
createIcon()
Creates a new icon element |
FacesConfigPropertyType<FacesConfigBehaviorType<T>> |
createProperty()
Creates a new property element |
FacesConfigBehaviorType<T> |
description(String... values)
Creates for all String objects representing description elements,
a new description element |
FacesConfigBehaviorType<T> |
displayName(String... values)
Creates for all String objects representing display-name elements,
a new display-name element |
List<FacesConfigAttributeType<FacesConfigBehaviorType<T>>> |
getAllAttribute()
Returns all attribute elements |
List<String> |
getAllDescription()
Returns all description elements |
List<String> |
getAllDisplayName()
Returns all display-name elements |
List<IconType<FacesConfigBehaviorType<T>>> |
getAllIcon()
Returns all icon elements |
List<FacesConfigPropertyType<FacesConfigBehaviorType<T>>> |
getAllProperty()
Returns all property elements |
String |
getBehaviorClass()
Returns the behavior-class element |
String |
getBehaviorId()
Returns the behavior-id element |
FacesConfigAttributeType<FacesConfigBehaviorType<T>> |
getOrCreateAttribute()
If not already created, a new attribute element will be created and returned. |
IconType<FacesConfigBehaviorType<T>> |
getOrCreateIcon()
If not already created, a new icon element will be created and returned. |
FacesConfigPropertyType<FacesConfigBehaviorType<T>> |
getOrCreateProperty()
If not already created, a new property element will be created and returned. |
Boolean |
isBehaviorExtension()
Removes the behavior-extension element |
FacesConfigBehaviorType<T> |
removeAllAttribute()
Removes all attribute elements |
FacesConfigBehaviorType<T> |
removeAllDescription()
Removes the description element |
FacesConfigBehaviorType<T> |
removeAllDisplayName()
Removes the display-name element |
FacesConfigBehaviorType<T> |
removeAllIcon()
Removes all icon elements |
FacesConfigBehaviorType<T> |
removeAllProperty()
Removes all property elements |
FacesConfigBehaviorType<T> |
removeBehaviorClass()
Removes the behavior-class element |
FacesConfigBehaviorType<T> |
removeBehaviorExtension()
Removes the behavior-extension element |
FacesConfigBehaviorType<T> |
removeBehaviorId()
Removes the behavior-id element |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
FacesConfigBehaviorType<T> description(String... values)
description
elements,
a new description
element
values
- list of description
objects
FacesConfigBehaviorType
List<String> getAllDescription()
description
elements
description
FacesConfigBehaviorType<T> removeAllDescription()
description
element
FacesConfigBehaviorType
FacesConfigBehaviorType<T> displayName(String... values)
display-name
elements,
a new display-name
element
values
- list of display-name
objects
FacesConfigBehaviorType
List<String> getAllDisplayName()
display-name
elements
display-name
FacesConfigBehaviorType<T> removeAllDisplayName()
display-name
element
FacesConfigBehaviorType
IconType<FacesConfigBehaviorType<T>> getOrCreateIcon()
icon
element will be created and returned.
Otherwise, the first existing icon
element will be returned.
icon
IconType<FacesConfigBehaviorType<T>> createIcon()
icon
element
IconType>
List<IconType<FacesConfigBehaviorType<T>>> getAllIcon()
icon
elements
icon
FacesConfigBehaviorType<T> removeAllIcon()
icon
elements
IconType>
FacesConfigBehaviorType<T> behaviorId(String behaviorId)
behavior-id
element
behaviorId
- the value for the element behavior-id
FacesConfigBehaviorType
String getBehaviorId()
behavior-id
element
behavior-id
FacesConfigBehaviorType<T> removeBehaviorId()
behavior-id
element
FacesConfigBehaviorType
FacesConfigBehaviorType<T> behaviorClass(String behaviorClass)
behavior-class
element
behaviorClass
- the value for the element behavior-class
FacesConfigBehaviorType
String getBehaviorClass()
behavior-class
element
behavior-class
FacesConfigBehaviorType<T> removeBehaviorClass()
behavior-class
element
FacesConfigBehaviorType
FacesConfigAttributeType<FacesConfigBehaviorType<T>> getOrCreateAttribute()
attribute
element will be created and returned.
Otherwise, the first existing attribute
element will be returned.
attribute
FacesConfigAttributeType<FacesConfigBehaviorType<T>> createAttribute()
attribute
element
FacesConfigAttributeType>
List<FacesConfigAttributeType<FacesConfigBehaviorType<T>>> getAllAttribute()
attribute
elements
attribute
FacesConfigBehaviorType<T> removeAllAttribute()
attribute
elements
FacesConfigAttributeType>
FacesConfigPropertyType<FacesConfigBehaviorType<T>> getOrCreateProperty()
property
element will be created and returned.
Otherwise, the first existing property
element will be returned.
property
FacesConfigPropertyType<FacesConfigBehaviorType<T>> createProperty()
property
element
FacesConfigPropertyType>
List<FacesConfigPropertyType<FacesConfigBehaviorType<T>>> getAllProperty()
property
elements
property
FacesConfigBehaviorType<T> removeAllProperty()
property
elements
FacesConfigPropertyType>
FacesConfigBehaviorType<T> behaviorExtension()
behavior-extension
element
FacesConfigBehaviorType
Boolean isBehaviorExtension()
behavior-extension
element
FacesConfigBehaviorType
FacesConfigBehaviorType<T> removeBehaviorExtension()
behavior-extension
element
FacesConfigBehaviorType
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |