public class FacesAttribute extends 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 String |
attributeClass |
protected List<FacesAttributeExtension> |
attributeExtension |
protected String |
attributeName |
protected String |
defaultValue |
protected TextMap |
description |
protected TextMap |
displayName |
protected LocalCollection<Icon> |
icon |
protected String |
id |
protected String |
suggestedValue |
| Constructor and Description |
|---|
FacesAttribute() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttributeClass()
Gets the value of the attributeClass property.
|
List<FacesAttributeExtension> |
getAttributeExtension()
Gets the value of the attributeExtension property.
|
String |
getAttributeName()
Gets the value of the attributeName property.
|
String |
getDefaultValue()
Gets the value of the defaultValue property.
|
String |
getDescription() |
Text[] |
getDescriptions() |
String |
getDisplayName() |
Text[] |
getDisplayNames() |
Icon |
getIcon() |
Map<String,Icon> |
getIconMap() |
Collection<Icon> |
getIcons() |
String |
getId()
Gets the value of the id property.
|
String |
getSuggestedValue()
Gets the value of the suggestedValue property.
|
void |
setAttributeClass(String value)
Sets the value of the attributeClass property.
|
void |
setAttributeName(String value)
Sets the value of the attributeName property.
|
void |
setDefaultValue(String value)
Sets the value of the defaultValue property.
|
void |
setDescriptions(Text[] text) |
void |
setDisplayNames(Text[] text) |
void |
setId(String value)
Sets the value of the id property.
|
void |
setSuggestedValue(String value)
Sets the value of the suggestedValue property.
|
protected TextMap description
protected TextMap displayName
protected LocalCollection<Icon> icon
protected String attributeName
protected String attributeClass
protected String defaultValue
protected String suggestedValue
protected List<FacesAttributeExtension> attributeExtension
protected String id
public Text[] getDescriptions()
public void setDescriptions(Text[] text)
public String getDescription()
public Text[] getDisplayNames()
public void setDisplayNames(Text[] text)
public String getDisplayName()
public Collection<Icon> getIcons()
public Icon getIcon()
public String getAttributeName()
Stringpublic void setAttributeName(String value)
value - allowed object is
Stringpublic String getAttributeClass()
Stringpublic void setAttributeClass(String value)
value - allowed object is
Stringpublic String getDefaultValue()
Stringpublic void setDefaultValue(String value)
value - allowed object is
Stringpublic String getSuggestedValue()
Stringpublic void setSuggestedValue(String value)
value - allowed object is
Stringpublic 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
FacesAttributeExtensionCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.