public interface WebFacesUIComponentDescriptor extends Descriptor, DescriptorNamespace<WebFacesUIComponentDescriptor>
This deployment descriptor provides the functionalities as described in the specification
Example:
WebFacesUIComponentDescriptor descriptor = Descriptors.create(WebFacesUIComponentDescriptor.class);
Modifier and Type | Method and Description |
---|---|
WebFacesUIComponentDescriptor |
_default(String _default)
Sets the
default attribute |
WebFacesUIComponentDescriptor |
applyTo(String applyTo)
Sets the
applyTo attribute |
UicomponentAttributeType<WebFacesUIComponentDescriptor> |
createAttribute()
Creates a new
attribute element |
WebFacesUIComponentDescriptor |
displayName(String displayName)
Sets the
displayName attribute |
WebFacesUIComponentDescriptor |
expert(Boolean expert)
Sets the
expert attribute |
String |
get_Default()
Returns the
default attribute |
List<UicomponentAttributeType<WebFacesUIComponentDescriptor>> |
getAllAttribute()
Returns all
attribute elements |
String |
getApplyTo()
Returns the
applyTo attribute |
String |
getDisplayName()
Returns the
displayName attribute |
String |
getMethodSignature()
Returns the
method-signature attribute |
String |
getName()
Returns the
name attribute |
UicomponentAttributeType<WebFacesUIComponentDescriptor> |
getOrCreateAttribute()
If not already created, a new
attribute element will be created and returned. |
String |
getShortDescription()
Returns the
shortDescription attribute |
Boolean |
isExpert()
Returns the
expert attribute |
Boolean |
isPreferred()
Returns the
preferred attribute |
Boolean |
isRequired()
Returns the
required attribute |
WebFacesUIComponentDescriptor |
methodSignature(String methodSignature)
Sets the
method-signature attribute |
WebFacesUIComponentDescriptor |
name(String name)
Sets the
name attribute |
WebFacesUIComponentDescriptor |
preferred(Boolean preferred)
Sets the
preferred attribute |
WebFacesUIComponentDescriptor |
remove_Default()
Removes the
default attribute |
WebFacesUIComponentDescriptor |
removeAllAttribute()
Removes all
attribute elements |
WebFacesUIComponentDescriptor |
removeApplyTo()
Removes the
applyTo attribute |
WebFacesUIComponentDescriptor |
removeDisplayName()
Removes the
displayName attribute |
WebFacesUIComponentDescriptor |
removeExpert()
Removes the
expert attribute |
WebFacesUIComponentDescriptor |
removeMethodSignature()
Removes the
method-signature attribute |
WebFacesUIComponentDescriptor |
removeName()
Removes the
name attribute |
WebFacesUIComponentDescriptor |
removePreferred()
Removes the
preferred attribute |
WebFacesUIComponentDescriptor |
removeRequired()
Removes the
required attribute |
WebFacesUIComponentDescriptor |
removeShortDescription()
Removes the
shortDescription attribute |
WebFacesUIComponentDescriptor |
required(Boolean required)
Sets the
required attribute |
WebFacesUIComponentDescriptor |
shortDescription(String shortDescription)
Sets the
shortDescription attribute |
exportAsString, exportTo, getDescriptorName
addDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespaces
UicomponentAttributeType<WebFacesUIComponentDescriptor> getOrCreateAttribute()
attribute
element will be created and returned.
Otherwise, the first existing attribute
element will be returned.attribute
UicomponentAttributeType<WebFacesUIComponentDescriptor> createAttribute()
attribute
elementUicomponentAttributeType
List<UicomponentAttributeType<WebFacesUIComponentDescriptor>> getAllAttribute()
attribute
elementsattribute
WebFacesUIComponentDescriptor removeAllAttribute()
attribute
elementsUicomponentAttributeType
WebFacesUIComponentDescriptor name(String name)
name
attributename
- the value for the attribute name
WebFacesUIComponentDescriptor
String getName()
name
attributename
WebFacesUIComponentDescriptor removeName()
name
attributeWebFacesUIComponentDescriptor
WebFacesUIComponentDescriptor displayName(String displayName)
displayName
attributedisplayName
- the value for the attribute displayName
WebFacesUIComponentDescriptor
String getDisplayName()
displayName
attributedisplayName
WebFacesUIComponentDescriptor removeDisplayName()
displayName
attributeWebFacesUIComponentDescriptor
WebFacesUIComponentDescriptor shortDescription(String shortDescription)
shortDescription
attributeshortDescription
- the value for the attribute shortDescription
WebFacesUIComponentDescriptor
String getShortDescription()
shortDescription
attributeshortDescription
WebFacesUIComponentDescriptor removeShortDescription()
shortDescription
attributeWebFacesUIComponentDescriptor
WebFacesUIComponentDescriptor _default(String _default)
default
attribute_default
- the value for the attribute default
WebFacesUIComponentDescriptor
String get_Default()
default
attributedefault
WebFacesUIComponentDescriptor remove_Default()
default
attributeWebFacesUIComponentDescriptor
WebFacesUIComponentDescriptor methodSignature(String methodSignature)
method-signature
attributemethodSignature
- the value for the attribute method-signature
WebFacesUIComponentDescriptor
String getMethodSignature()
method-signature
attributemethod-signature
WebFacesUIComponentDescriptor removeMethodSignature()
method-signature
attributeWebFacesUIComponentDescriptor
WebFacesUIComponentDescriptor applyTo(String applyTo)
applyTo
attributeapplyTo
- the value for the attribute applyTo
WebFacesUIComponentDescriptor
String getApplyTo()
applyTo
attributeapplyTo
WebFacesUIComponentDescriptor removeApplyTo()
applyTo
attributeWebFacesUIComponentDescriptor
WebFacesUIComponentDescriptor required(Boolean required)
required
attributerequired
- the value for the attribute required
WebFacesUIComponentDescriptor
Boolean isRequired()
required
attributerequired
WebFacesUIComponentDescriptor removeRequired()
required
attributeWebFacesUIComponentDescriptor
WebFacesUIComponentDescriptor preferred(Boolean preferred)
preferred
attributepreferred
- the value for the attribute preferred
WebFacesUIComponentDescriptor
Boolean isPreferred()
preferred
attributepreferred
WebFacesUIComponentDescriptor removePreferred()
preferred
attributeWebFacesUIComponentDescriptor
WebFacesUIComponentDescriptor expert(Boolean expert)
expert
attributeexpert
- the value for the attribute expert
WebFacesUIComponentDescriptor
Boolean isExpert()
expert
attributeexpert
WebFacesUIComponentDescriptor removeExpert()
expert
attributeWebFacesUIComponentDescriptor
Copyright © 2017 JBoss by Red Hat. All rights reserved.