org.apache.openejb.jee
Class FacesBehavior

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

public class FacesBehavior
extends Object

web-facesconfig_2_0.xsd

Java class for faces-config-behaviorType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="faces-config-behaviorType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
         <element name="behavior-id" type="{http://java.sun.com/xml/ns/javaee}string"/>
         <element name="behavior-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
         <element name="attribute" type="{http://java.sun.com/xml/ns/javaee}faces-config-attributeType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="property" type="{http://java.sun.com/xml/ns/javaee}faces-config-propertyType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="behavior-extension" type="{http://java.sun.com/xml/ns/javaee}faces-config-behavior-extensionType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<FacesAttribute> attribute
           
protected  String behaviorClass
           
protected  List<FacesBehaviorExtension> behaviorExtension
           
protected  String behaviorId
           
protected  TextMap description
           
protected  TextMap displayName
           
protected  LocalCollection<Icon> icon
           
protected  List<FacesProperty> property
           
 
Constructor Summary
FacesBehavior()
           
 
Method Summary
 List<FacesAttribute> getAttribute()
          Gets the value of the attribute property.
 String getBehaviorClass()
          Gets the value of the behaviorClass property.
 List<FacesBehaviorExtension> getBehaviorExtension()
          Gets the value of the behaviorExtension property.
 String getBehaviorId()
          Gets the value of the behaviorId property.
 String getDescription()
           
 Text[] getDescriptions()
           
 String getDisplayName()
           
 Text[] getDisplayNames()
           
 Icon getIcon()
           
 Map<String,Icon> getIconMap()
           
 Collection<Icon> getIcons()
           
 List<FacesProperty> getProperty()
          Gets the value of the property property.
 void setBehaviorClass(String value)
          Sets the value of the behaviorClass property.
 void setBehaviorId(String value)
          Sets the value of the behaviorId property.
 void setDescriptions(Text[] text)
           
 void setDisplayNames(Text[] text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected TextMap description

displayName

protected TextMap displayName

icon

protected LocalCollection<Icon> icon

behaviorId

protected String behaviorId

behaviorClass

protected String behaviorClass

attribute

protected List<FacesAttribute> attribute

property

protected List<FacesProperty> property

behaviorExtension

protected List<FacesBehaviorExtension> behaviorExtension
Constructor Detail

FacesBehavior

public FacesBehavior()
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()

getIconMap

public Map<String,Icon> getIconMap()

getIcon

public Icon getIcon()

getBehaviorId

public String getBehaviorId()
Gets the value of the behaviorId property.

Returns:
possible object is String

setBehaviorId

public void setBehaviorId(String value)
Sets the value of the behaviorId property.

Parameters:
value - allowed object is String

getBehaviorClass

public String getBehaviorClass()
Gets the value of the behaviorClass property.

Returns:
possible object is String

setBehaviorClass

public void setBehaviorClass(String value)
Sets the value of the behaviorClass property.

Parameters:
value - allowed object is String

getAttribute

public List<FacesAttribute> getAttribute()
Gets the value of the attribute 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 attribute property.

For example, to add a new item, do as follows:

    getAttribute().add(newItem);
 

Objects of the following type(s) are allowed in the list FacesAttribute


getProperty

public List<FacesProperty> getProperty()
Gets the value of the property 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 property property.

For example, to add a new item, do as follows:

    getProperty().add(newItem);
 

Objects of the following type(s) are allowed in the list FacesProperty


getBehaviorExtension

public List<FacesBehaviorExtension> getBehaviorExtension()
Gets the value of the behaviorExtension 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 behaviorExtension property.

For example, to add a new item, do as follows:

    getBehaviorExtension().add(newItem);
 

Objects of the following type(s) are allowed in the list FacesBehaviorExtension



Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.