|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openejb.jee.FacesAttribute
public class FacesAttribute
The "attribute" element represents a named, typed, value associated with the parent UIComponent via the generic attributes mechanism. Attribute names must be unique within the scope of the parent (or related) component.
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>
Field Summary | |
---|---|
protected java.lang.String |
attributeClass
|
protected java.util.List<FacesAttributeExtension> |
attributeExtension
|
protected java.lang.String |
attributeName
|
protected java.lang.String |
defaultValue
|
protected java.util.List<DescriptionType> |
description
|
protected java.util.List<java.lang.String> |
displayName
|
protected java.util.List<Icon> |
icon
|
protected java.lang.String |
id
|
protected java.lang.String |
suggestedValue
|
Constructor Summary | |
---|---|
FacesAttribute()
|
Method Summary | |
---|---|
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.util.List<DescriptionType> |
getDescription()
Gets the value of the description property. |
java.util.List<java.lang.String> |
getDisplayName()
Gets the value of the displayName property. |
java.util.List<Icon> |
getIcon()
Gets the value of the icon property. |
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 |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List<DescriptionType> description
protected java.util.List<java.lang.String> displayName
protected java.util.List<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
Constructor Detail |
---|
public FacesAttribute()
Method Detail |
---|
public java.util.List<DescriptionType> getDescription()
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 a set
method for the description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
DescriptionType
public java.util.List<java.lang.String> getDisplayName()
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 a set
method for the displayName property.
For example, to add a new item, do as follows:
getDisplayName().add(newItem);
Objects of the following type(s) are allowed in the list
String
public java.util.List<Icon> getIcon()
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 a set
method for the icon property.
For example, to add a new item, do as follows:
getIcon().add(newItem);
Objects of the following type(s) are allowed in the list
Icon
public java.lang.String getAttributeName()
String
public void setAttributeName(java.lang.String value)
value
- allowed object is
String
public java.lang.String getAttributeClass()
String
public void setAttributeClass(java.lang.String value)
value
- allowed object is
String
public java.lang.String getDefaultValue()
String
public void setDefaultValue(java.lang.String value)
value
- allowed object is
String
public java.lang.String getSuggestedValue()
String
public void setSuggestedValue(java.lang.String value)
value
- allowed object is
String
public java.util.List<FacesAttributeExtension> getAttributeExtension()
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 a 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
FacesAttributeExtension
public java.lang.String getId()
String
public void setId(java.lang.String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |