|
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 FacesConfigAttributeType<T>
This interface defines the contract for the faces-config-attributeType
xsd type
Method Summary | |
---|---|
FacesConfigAttributeType<T> |
attributeClass(String attributeClass)
Sets the attribute-class element |
FacesConfigAttributeType<T> |
attributeExtension()
Sets the attribute-extension element |
FacesConfigAttributeType<T> |
attributeName(String attributeName)
Sets the attribute-name element |
IconType<FacesConfigAttributeType<T>> |
createIcon()
Creates a new icon element |
FacesConfigAttributeType<T> |
defaultValue(String defaultValue)
Sets the default-value element |
FacesConfigAttributeType<T> |
description(String... values)
Creates for all String objects representing description elements,
a new description element |
FacesConfigAttributeType<T> |
displayName(String... values)
Creates for all String objects representing display-name elements,
a new display-name element |
List<String> |
getAllDescription()
Returns all description elements |
List<String> |
getAllDisplayName()
Returns all display-name elements |
List<IconType<FacesConfigAttributeType<T>>> |
getAllIcon()
Returns all icon elements |
String |
getAttributeClass()
Returns the attribute-class element |
String |
getAttributeName()
Returns the attribute-name element |
String |
getDefaultValue()
Returns the default-value element |
IconType<FacesConfigAttributeType<T>> |
getOrCreateIcon()
If not already created, a new icon element will be created and returned. |
String |
getSuggestedValue()
Returns the suggested-value element |
Boolean |
isAttributeExtension()
Removes the attribute-extension element |
FacesConfigAttributeType<T> |
removeAllDescription()
Removes the description element |
FacesConfigAttributeType<T> |
removeAllDisplayName()
Removes the display-name element |
FacesConfigAttributeType<T> |
removeAllIcon()
Removes all icon elements |
FacesConfigAttributeType<T> |
removeAttributeClass()
Removes the attribute-class element |
FacesConfigAttributeType<T> |
removeAttributeExtension()
Removes the attribute-extension element |
FacesConfigAttributeType<T> |
removeAttributeName()
Removes the attribute-name element |
FacesConfigAttributeType<T> |
removeDefaultValue()
Removes the default-value element |
FacesConfigAttributeType<T> |
removeSuggestedValue()
Removes the suggested-value element |
FacesConfigAttributeType<T> |
suggestedValue(String suggestedValue)
Sets the suggested-value element |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
FacesConfigAttributeType<T> description(String... values)
description
elements,
a new description
element
values
- list of description
objects
FacesConfigAttributeType
List<String> getAllDescription()
description
elements
description
FacesConfigAttributeType<T> removeAllDescription()
description
element
FacesConfigAttributeType
FacesConfigAttributeType<T> displayName(String... values)
display-name
elements,
a new display-name
element
values
- list of display-name
objects
FacesConfigAttributeType
List<String> getAllDisplayName()
display-name
elements
display-name
FacesConfigAttributeType<T> removeAllDisplayName()
display-name
element
FacesConfigAttributeType
IconType<FacesConfigAttributeType<T>> getOrCreateIcon()
icon
element will be created and returned.
Otherwise, the first existing icon
element will be returned.
icon
IconType<FacesConfigAttributeType<T>> createIcon()
icon
element
IconType>
List<IconType<FacesConfigAttributeType<T>>> getAllIcon()
icon
elements
icon
FacesConfigAttributeType<T> removeAllIcon()
icon
elements
IconType>
FacesConfigAttributeType<T> attributeName(String attributeName)
attribute-name
element
attributeName
- the value for the element attribute-name
FacesConfigAttributeType
String getAttributeName()
attribute-name
element
attribute-name
FacesConfigAttributeType<T> removeAttributeName()
attribute-name
element
FacesConfigAttributeType
FacesConfigAttributeType<T> attributeClass(String attributeClass)
attribute-class
element
attributeClass
- the value for the element attribute-class
FacesConfigAttributeType
String getAttributeClass()
attribute-class
element
attribute-class
FacesConfigAttributeType<T> removeAttributeClass()
attribute-class
element
FacesConfigAttributeType
FacesConfigAttributeType<T> defaultValue(String defaultValue)
default-value
element
defaultValue
- the value for the element default-value
FacesConfigAttributeType
String getDefaultValue()
default-value
element
default-value
FacesConfigAttributeType<T> removeDefaultValue()
default-value
element
FacesConfigAttributeType
FacesConfigAttributeType<T> suggestedValue(String suggestedValue)
suggested-value
element
suggestedValue
- the value for the element suggested-value
FacesConfigAttributeType
String getSuggestedValue()
suggested-value
element
suggested-value
FacesConfigAttributeType<T> removeSuggestedValue()
suggested-value
element
FacesConfigAttributeType
FacesConfigAttributeType<T> attributeExtension()
attribute-extension
element
FacesConfigAttributeType
Boolean isAttributeExtension()
attribute-extension
element
FacesConfigAttributeType
FacesConfigAttributeType<T> removeAttributeExtension()
attribute-extension
element
FacesConfigAttributeType
|
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 |