org.apache.openejb.jee
Class FacesRenderer

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

public class FacesRenderer
extends java.lang.Object

The "renderer" element represents a concrete Renderer implementation class that should be registered under the specified component family and renderer type identifiers, in the RenderKit associated with the parent "render-kit" element. Combinations of component family and renderer type must be unique within the RenderKit associated with the parent "render-kit" element. Nested "attribute" elements identify generic component attributes that are recognized by this renderer.

Java class for faces-config-rendererType complex type.

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

 <complexType name="faces-config-rendererType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
         <element name="component-family" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="renderer-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="renderer-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="renderer-extension" type="{http://java.sun.com/xml/ns/javaee}faces-config-renderer-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 componentFamily
           
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.lang.String rendererClass
           
protected  java.util.List<FacesRendererExtension> rendererExtension
           
protected  java.lang.String rendererType
           
 
Constructor Summary
FacesRenderer()
           
 
Method Summary
 java.util.List<FacesAttribute> getAttribute()
          Gets the value of the attribute property.
 java.lang.String getComponentFamily()
          Gets the value of the componentFamily 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.lang.String getRendererClass()
          Gets the value of the rendererClass property.
 java.util.List<FacesRendererExtension> getRendererExtension()
          Gets the value of the rendererExtension property.
 java.lang.String getRendererType()
          Gets the value of the rendererType property.
 void setComponentFamily(java.lang.String value)
          Sets the value of the componentFamily property.
 void setId(java.lang.String value)
          Sets the value of the id property.
 void setRendererClass(java.lang.String value)
          Sets the value of the rendererClass property.
 void setRendererType(java.lang.String value)
          Sets the value of the rendererType property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected java.util.List<DescriptionType> description

displayName

protected java.util.List<java.lang.String> displayName

icon

protected java.util.List<Icon> icon

componentFamily

protected java.lang.String componentFamily

rendererType

protected java.lang.String rendererType

rendererClass

protected java.lang.String rendererClass

facet

protected java.util.List<FacesFacet> facet

attribute

protected java.util.List<FacesAttribute> attribute

rendererExtension

protected java.util.List<FacesRendererExtension> rendererExtension

id

protected java.lang.String id
Constructor Detail

FacesRenderer

public FacesRenderer()
Method Detail

getDescription

public java.util.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 java.util.List<java.lang.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 java.util.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


getComponentFamily

public java.lang.String getComponentFamily()
Gets the value of the componentFamily property.

Returns:
possible object is String

setComponentFamily

public void setComponentFamily(java.lang.String value)
Sets the value of the componentFamily property.

Parameters:
value - allowed object is String

getRendererType

public java.lang.String getRendererType()
Gets the value of the rendererType property.

Returns:
possible object is String

setRendererType

public void setRendererType(java.lang.String value)
Sets the value of the rendererType property.

Parameters:
value - allowed object is String

getRendererClass

public java.lang.String getRendererClass()
Gets the value of the rendererClass property.

Returns:
possible object is String

setRendererClass

public void setRendererClass(java.lang.String value)
Sets the value of the rendererClass property.

Parameters:
value - allowed object is String

getFacet

public java.util.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 java.util.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


getRendererExtension

public java.util.List<FacesRendererExtension> getRendererExtension()
Gets the value of the rendererExtension 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 rendererExtension property.

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

    getRendererExtension().add(newItem);
 

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


getId

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

Returns:
possible object is String

setId

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

Parameters:
value - allowed object is String


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