public interface FacesConfigComponentType<T> extends Child<T>, JavaeeFacesConfigComponentCommonType<T,FacesConfigComponentType<T>,FacesConfigFacetType<FacesConfigComponentType<T>>,FacesConfigAttributeType<FacesConfigComponentType<T>>,FacesConfigPropertyType<FacesConfigComponentType<T>>>
faces-config-componentType
xsd typeModifier and Type | Method and Description |
---|---|
FacesConfigComponentType<T> |
componentClass(String componentClass)
Sets the
component-class element |
FacesConfigComponentType<T> |
componentExtension()
Sets the
component-extension element |
FacesConfigComponentType<T> |
componentType(String componentType)
Sets the
component-type element |
FacesConfigAttributeType<FacesConfigComponentType<T>> |
createAttribute()
Creates a new
attribute element |
FacesConfigFacetType<FacesConfigComponentType<T>> |
createFacet()
Creates a new
facet element |
IconType<FacesConfigComponentType<T>> |
createIcon()
Creates a new
icon element |
FacesConfigPropertyType<FacesConfigComponentType<T>> |
createProperty()
Creates a new
property element |
FacesConfigComponentType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
FacesConfigComponentType<T> |
displayName(String... values)
Creates for all String objects representing
display-name elements,
a new display-name element |
List<FacesConfigAttributeType<FacesConfigComponentType<T>>> |
getAllAttribute()
Returns all
attribute elements |
List<String> |
getAllDescription()
Returns all
description elements |
List<String> |
getAllDisplayName()
Returns all
display-name elements |
List<FacesConfigFacetType<FacesConfigComponentType<T>>> |
getAllFacet()
Returns all
facet elements |
List<IconType<FacesConfigComponentType<T>>> |
getAllIcon()
Returns all
icon elements |
List<FacesConfigPropertyType<FacesConfigComponentType<T>>> |
getAllProperty()
Returns all
property elements |
String |
getComponentClass()
Returns the
component-class element |
String |
getComponentType()
Returns the
component-type element |
String |
getId()
Returns the
id attribute |
FacesConfigAttributeType<FacesConfigComponentType<T>> |
getOrCreateAttribute()
If not already created, a new
attribute element will be created and returned. |
FacesConfigFacetType<FacesConfigComponentType<T>> |
getOrCreateFacet()
If not already created, a new
facet element will be created and returned. |
IconType<FacesConfigComponentType<T>> |
getOrCreateIcon()
If not already created, a new
icon element will be created and returned. |
FacesConfigPropertyType<FacesConfigComponentType<T>> |
getOrCreateProperty()
If not already created, a new
property element will be created and returned. |
FacesConfigComponentType<T> |
id(String id)
Sets the
id attribute |
Boolean |
isComponentExtension()
Removes the
component-extension element |
FacesConfigComponentType<T> |
removeAllAttribute()
Removes all
attribute elements |
FacesConfigComponentType<T> |
removeAllDescription()
Removes the
description element |
FacesConfigComponentType<T> |
removeAllDisplayName()
Removes the
display-name element |
FacesConfigComponentType<T> |
removeAllFacet()
Removes all
facet elements |
FacesConfigComponentType<T> |
removeAllIcon()
Removes all
icon elements |
FacesConfigComponentType<T> |
removeAllProperty()
Removes all
property elements |
FacesConfigComponentType<T> |
removeComponentClass()
Removes the
component-class element |
FacesConfigComponentType<T> |
removeComponentExtension()
Removes the
component-extension element |
FacesConfigComponentType<T> |
removeComponentType()
Removes the
component-type element |
FacesConfigComponentType<T> |
removeId()
Removes the
id attribute |
FacesConfigComponentType<T> description(String... values)
description
elements,
a new description
elementvalues
- list of description
objectsFacesConfigComponentType
List<String> getAllDescription()
description
elementsdescription
FacesConfigComponentType<T> removeAllDescription()
description
elementFacesConfigComponentType
FacesConfigComponentType<T> displayName(String... values)
display-name
elements,
a new display-name
elementvalues
- list of display-name
objectsFacesConfigComponentType
List<String> getAllDisplayName()
display-name
elementsdisplay-name
FacesConfigComponentType<T> removeAllDisplayName()
display-name
elementFacesConfigComponentType
IconType<FacesConfigComponentType<T>> getOrCreateIcon()
icon
element will be created and returned.
Otherwise, the first existing icon
element will be returned.icon
IconType<FacesConfigComponentType<T>> createIcon()
icon
elementIconType>
List<IconType<FacesConfigComponentType<T>>> getAllIcon()
icon
elementsicon
FacesConfigComponentType<T> removeAllIcon()
icon
elementsIconType>
FacesConfigComponentType<T> componentType(String componentType)
component-type
elementcomponentType
- the value for the element component-type
FacesConfigComponentType
String getComponentType()
component-type
elementcomponent-type
FacesConfigComponentType<T> removeComponentType()
component-type
elementFacesConfigComponentType
FacesConfigComponentType<T> componentClass(String componentClass)
component-class
elementcomponentClass
- the value for the element component-class
FacesConfigComponentType
String getComponentClass()
component-class
elementcomponent-class
FacesConfigComponentType<T> removeComponentClass()
component-class
elementFacesConfigComponentType
FacesConfigFacetType<FacesConfigComponentType<T>> getOrCreateFacet()
facet
element will be created and returned.
Otherwise, the first existing facet
element will be returned.facet
FacesConfigFacetType<FacesConfigComponentType<T>> createFacet()
facet
elementFacesConfigFacetType>
List<FacesConfigFacetType<FacesConfigComponentType<T>>> getAllFacet()
facet
elementsfacet
FacesConfigComponentType<T> removeAllFacet()
facet
elementsFacesConfigFacetType>
FacesConfigAttributeType<FacesConfigComponentType<T>> getOrCreateAttribute()
attribute
element will be created and returned.
Otherwise, the first existing attribute
element will be returned.attribute
FacesConfigAttributeType<FacesConfigComponentType<T>> createAttribute()
attribute
elementFacesConfigAttributeType>
List<FacesConfigAttributeType<FacesConfigComponentType<T>>> getAllAttribute()
attribute
elementsattribute
FacesConfigComponentType<T> removeAllAttribute()
attribute
elementsFacesConfigAttributeType>
FacesConfigPropertyType<FacesConfigComponentType<T>> getOrCreateProperty()
property
element will be created and returned.
Otherwise, the first existing property
element will be returned.property
FacesConfigPropertyType<FacesConfigComponentType<T>> createProperty()
property
elementFacesConfigPropertyType>
List<FacesConfigPropertyType<FacesConfigComponentType<T>>> getAllProperty()
property
elementsproperty
FacesConfigComponentType<T> removeAllProperty()
property
elementsFacesConfigPropertyType>
FacesConfigComponentType<T> componentExtension()
component-extension
elementFacesConfigComponentType
Boolean isComponentExtension()
component-extension
elementFacesConfigComponentType
FacesConfigComponentType<T> removeComponentExtension()
component-extension
elementFacesConfigComponentType
FacesConfigComponentType<T> id(String id)
id
attributeid
- the value for the attribute id
FacesConfigComponentType
String getId()
id
attributeid
FacesConfigComponentType<T> removeId()
id
attributeFacesConfigComponentType
Copyright © 2021 JBoss by Red Hat. All rights reserved.