Package org.apache.openejb.jee
Class FacesAttribute
- java.lang.Object
-
- org.apache.openejb.jee.FacesAttribute
-
public class FacesAttribute extends Object
web-facesconfig_2_0.xsdJava 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringattributeClassprotected List<FacesAttributeExtension>attributeExtensionprotected StringattributeNameprotected StringdefaultValueprotected TextMapdescriptionprotected TextMapdisplayNameprotected LocalCollection<Icon>iconprotected Stringidprotected StringsuggestedValue
-
Constructor Summary
Constructors Constructor Description FacesAttribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAttributeClass()Gets the value of the attributeClass property.List<FacesAttributeExtension>getAttributeExtension()Gets the value of the attributeExtension property.StringgetAttributeName()Gets the value of the attributeName property.StringgetDefaultValue()Gets the value of the defaultValue property.StringgetDescription()Text[]getDescriptions()StringgetDisplayName()Text[]getDisplayNames()IcongetIcon()Map<String,Icon>getIconMap()Collection<Icon>getIcons()StringgetId()Gets the value of the id property.StringgetSuggestedValue()Gets the value of the suggestedValue property.voidsetAttributeClass(String value)Sets the value of the attributeClass property.voidsetAttributeName(String value)Sets the value of the attributeName property.voidsetDefaultValue(String value)Sets the value of the defaultValue property.voidsetDescriptions(Text[] text)voidsetDisplayNames(Text[] text)voidsetId(String value)Sets the value of the id property.voidsetSuggestedValue(String value)Sets the value of the suggestedValue property.
-
-
-
Field Detail
-
description
protected TextMap description
-
displayName
protected TextMap displayName
-
icon
protected LocalCollection<Icon> icon
-
attributeName
protected String attributeName
-
attributeClass
protected String attributeClass
-
defaultValue
protected String defaultValue
-
suggestedValue
protected String suggestedValue
-
attributeExtension
protected List<FacesAttributeExtension> attributeExtension
-
id
protected String id
-
-
Method Detail
-
getDescriptions
public Text[] getDescriptions()
-
setDescriptions
public void setDescriptions(Text[] text)
-
getDescription
public String getDescription()
-
getDisplayNames
public Text[] getDisplayNames()
-
setDisplayNames
public void setDisplayNames(Text[] text)
-
getDisplayName
public String getDisplayName()
-
getIcons
public Collection<Icon> getIcons()
-
getIcon
public Icon getIcon()
-
getAttributeName
public String getAttributeName()
Gets the value of the attributeName property.- Returns:
- possible object is
String
-
setAttributeName
public void setAttributeName(String value)
Sets the value of the attributeName property.- Parameters:
value- allowed object isString
-
getAttributeClass
public String getAttributeClass()
Gets the value of the attributeClass property.- Returns:
- possible object is
String
-
setAttributeClass
public void setAttributeClass(String value)
Sets the value of the attributeClass property.- Parameters:
value- allowed object isString
-
getDefaultValue
public String getDefaultValue()
Gets the value of the defaultValue property.- Returns:
- possible object is
String
-
setDefaultValue
public void setDefaultValue(String value)
Sets the value of the defaultValue property.- Parameters:
value- allowed object isString
-
getSuggestedValue
public String getSuggestedValue()
Gets the value of the suggestedValue property.- Returns:
- possible object is
String
-
setSuggestedValue
public void setSuggestedValue(String value)
Sets the value of the suggestedValue property.- Parameters:
value- allowed object isString
-
getAttributeExtension
public List<FacesAttributeExtension> getAttributeExtension()
Gets the value of the attributeExtension property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod 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 listFacesAttributeExtension
-
-