|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openejb.jee.FacesComponent
public class FacesComponent
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 java.util.List<FacesAttribute> |
attribute
|
protected java.lang.String |
componentClass
|
protected java.util.List<FacesComponentExtension> |
componentExtension
|
protected java.lang.String |
componentType
|
protected java.util.List<DescriptionType> |
description
|
protected java.util.List<java.lang.String> |
displayName
|
protected java.util.List<FacesFacet> |
facet
|
protected java.util.List<Icon> |
icon
|
protected java.lang.String |
id
|
protected java.util.List<FacesProperty> |
property
|
Constructor Summary | |
---|---|
FacesComponent()
|
Method Summary | |
---|---|
java.util.List<FacesAttribute> |
getAttribute()
Gets the value of the attribute property. |
java.lang.String |
getComponentClass()
Gets the value of the componentClass property. |
java.util.List<FacesComponentExtension> |
getComponentExtension()
Gets the value of the componentExtension property. |
java.lang.String |
getComponentType()
Gets the value of the componentType 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<FacesFacet> |
getFacet()
Gets the value of the facet 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.util.List<FacesProperty> |
getProperty()
Gets the value of the property property. |
void |
setComponentClass(java.lang.String value)
Sets the value of the componentClass property. |
void |
setComponentType(java.lang.String value)
Sets the value of the componentType property. |
void |
setId(java.lang.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 |
---|
protected java.util.List<DescriptionType> description
protected java.util.List<java.lang.String> displayName
protected java.util.List<Icon> icon
protected java.lang.String componentType
protected java.lang.String componentClass
protected java.util.List<FacesFacet> facet
protected java.util.List<FacesAttribute> attribute
protected java.util.List<FacesProperty> property
protected java.util.List<FacesComponentExtension> componentExtension
protected java.lang.String id
Constructor Detail |
---|
public FacesComponent()
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 getComponentType()
String
public void setComponentType(java.lang.String value)
value
- allowed object is
String
public java.lang.String getComponentClass()
String
public void setComponentClass(java.lang.String value)
value
- allowed object is
String
public java.util.List<FacesFacet> getFacet()
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
public java.util.List<FacesAttribute> getAttribute()
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
public java.util.List<FacesProperty> getProperty()
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
public java.util.List<FacesComponentExtension> getComponentExtension()
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
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 |