org.apache.openejb.jee
Class FacesAttribute

java.lang.Object
  extended by org.apache.openejb.jee.FacesAttribute

public class FacesAttribute
extends Object

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  String attributeClass
           
protected  List<FacesAttributeExtension> attributeExtension
           
protected  String attributeName
           
protected  String defaultValue
           
protected  List<DescriptionType> description
           
protected  List<String> displayName
           
protected  List<Icon> icon
           
protected  String id
           
protected  String suggestedValue
           
 
Constructor Summary
FacesAttribute()
           
 
Method Summary
 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.
 List<DescriptionType> getDescription()
          Gets the value of the description property.
 List<String> getDisplayName()
          Gets the value of the displayName property.
 List<Icon> getIcon()
          Gets the value of the icon property.
 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 setId(String value)
          Sets the value of the id property.
 void setSuggestedValue(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

description

protected List<DescriptionType> description

displayName

protected List<String> displayName

icon

protected List<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
Constructor Detail

FacesAttribute

public FacesAttribute()
Method Detail

getDescription

public List<DescriptionType> getDescription()
Gets the value of the description 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 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


getDisplayName

public List<String> getDisplayName()
Gets the value of the displayName 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 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


getIcon

public List<Icon> getIcon()
Gets the value of the icon 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 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


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 is String

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 is String

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 is String

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 is String

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 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


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.