org.apache.openejb.jee
Class FacesComponent

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

public class FacesComponent
extends Object

The "component" element represents a concrete UIComponent implementation class that should be registered under the specified type identifier, along with its associated properties and attributes. Component types must be unique within the entire web application. Nested "attribute" elements identify generic attributes that are recognized by the implementation logic of this component. Nested "property" elements identify JavaBeans properties of the component class that may be exposed for manipulation via tools.

Java class for faces-config-componentType complex type.

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

 <complexType name="faces-config-componentType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
         <element name="component-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="component-class" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="facet" type="{http://java.sun.com/xml/ns/javaee}faces-config-facetType" maxOccurs="unbounded" minOccurs="0"/>
         <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="component-extension" type="{http://java.sun.com/xml/ns/javaee}faces-config-component-extensionType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<FacesAttribute> attribute
           
protected  String componentClass
           
protected  List<FacesComponentExtension> componentExtension
           
protected  String componentType
           
protected  List<DescriptionType> description
           
protected  List<String> displayName
           
protected  List<FacesFacet> facet
           
protected  List<Icon> icon
           
protected  String id
           
protected  List<FacesProperty> property
           
 
Constructor Summary
FacesComponent()
           
 
Method Summary
 List<FacesAttribute> getAttribute()
          Gets the value of the attribute property.
 String getComponentClass()
          Gets the value of the componentClass property.
 List<FacesComponentExtension> getComponentExtension()
          Gets the value of the componentExtension property.
 String getComponentType()
          Gets the value of the componentType property.
 List<DescriptionType> getDescription()
          Gets the value of the description property.
 List<String> getDisplayName()
          Gets the value of the displayName property.
 List<FacesFacet> getFacet()
          Gets the value of the facet property.
 List<Icon> getIcon()
          Gets the value of the icon property.
 String getId()
          Gets the value of the id property.
 List<FacesProperty> getProperty()
          Gets the value of the property property.
 void setComponentClass(String value)
          Sets the value of the componentClass property.
 void setComponentType(String value)
          Sets the value of the componentType property.
 void setId(String value)
          Sets the value of the id 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

componentType

protected String componentType

componentClass

protected String componentClass

facet

protected List<FacesFacet> facet

attribute

protected List<FacesAttribute> attribute

property

protected List<FacesProperty> property

componentExtension

protected List<FacesComponentExtension> componentExtension

id

protected String id
Constructor Detail

FacesComponent

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


getComponentType

public String getComponentType()
Gets the value of the componentType property.

Returns:
possible object is String

setComponentType

public void setComponentType(String value)
Sets the value of the componentType property.

Parameters:
value - allowed object is String

getComponentClass

public String getComponentClass()
Gets the value of the componentClass property.

Returns:
possible object is String

setComponentClass

public void setComponentClass(String value)
Sets the value of the componentClass property.

Parameters:
value - allowed object is String

getFacet

public List<FacesFacet> getFacet()
Gets the value of the facet 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 facet property.

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

    getFacet().add(newItem);
 

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


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


getComponentExtension

public List<FacesComponentExtension> getComponentExtension()
Gets the value of the componentExtension 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 componentExtension property.

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

    getComponentExtension().add(newItem);
 

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


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.