public class FacesAttribute
extends java.lang.Object
Java class for faces-config-attributeType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="faces-config-attributeType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
<element name="attribute-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="attribute-class" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="default-value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="suggested-value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="attribute-extension" type="{http://java.sun.com/xml/ns/javaee}faces-config-attribute-extensionType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
attributeClass |
protected java.util.List<FacesAttributeExtension> |
attributeExtension |
protected java.lang.String |
attributeName |
protected java.lang.String |
defaultValue |
protected TextMap |
description |
protected TextMap |
displayName |
protected LocalCollection<Icon> |
icon |
protected java.lang.String |
id |
protected java.lang.String |
suggestedValue |
| Constructor and Description |
|---|
FacesAttribute() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttributeClass()
Gets the value of the attributeClass property.
|
java.util.List<FacesAttributeExtension> |
getAttributeExtension()
Gets the value of the attributeExtension property.
|
java.lang.String |
getAttributeName()
Gets the value of the attributeName property.
|
java.lang.String |
getDefaultValue()
Gets the value of the defaultValue property.
|
java.lang.String |
getDescription() |
Text[] |
getDescriptions() |
java.lang.String |
getDisplayName() |
Text[] |
getDisplayNames() |
Icon |
getIcon() |
java.util.Map<java.lang.String,Icon> |
getIconMap() |
java.util.Collection<Icon> |
getIcons() |
java.lang.String |
getId()
Gets the value of the id property.
|
java.lang.String |
getSuggestedValue()
Gets the value of the suggestedValue property.
|
void |
setAttributeClass(java.lang.String value)
Sets the value of the attributeClass property.
|
void |
setAttributeName(java.lang.String value)
Sets the value of the attributeName property.
|
void |
setDefaultValue(java.lang.String value)
Sets the value of the defaultValue property.
|
void |
setDescriptions(Text[] text) |
void |
setDisplayNames(Text[] text) |
void |
setId(java.lang.String value)
Sets the value of the id property.
|
void |
setSuggestedValue(java.lang.String value)
Sets the value of the suggestedValue property.
|
protected TextMap description
protected TextMap displayName
protected LocalCollection<Icon> icon
protected java.lang.String attributeName
protected java.lang.String attributeClass
protected java.lang.String defaultValue
protected java.lang.String suggestedValue
protected java.util.List<FacesAttributeExtension> attributeExtension
protected java.lang.String id
public Text[] getDescriptions()
public void setDescriptions(Text[] text)
public java.lang.String getDescription()
public Text[] getDisplayNames()
public void setDisplayNames(Text[] text)
public java.lang.String getDisplayName()
public java.util.Collection<Icon> getIcons()
public java.util.Map<java.lang.String,Icon> getIconMap()
public Icon getIcon()
public java.lang.String getAttributeName()
Stringpublic void setAttributeName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getAttributeClass()
Stringpublic void setAttributeClass(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getDefaultValue()
Stringpublic void setDefaultValue(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getSuggestedValue()
Stringpublic void setSuggestedValue(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<FacesAttributeExtension> getAttributeExtension()
set method for the attributeExtension property.
For example, to add a new item, do as follows:
getAttributeExtension().add(newItem);
Objects of the following type(s) are allowed in the list
FacesAttributeExtensionpublic java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is
String