org.apache.openejb.jee
Class FacesRenderer

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

public class FacesRenderer
extends 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  List<FacesAttribute> attribute
           
protected  String componentFamily
           
protected  List<DescriptionType> description
           
protected  List<String> displayName
           
protected  List<FacesFacet> facet
           
protected  List<Icon> icon
           
protected  String id
           
protected  String rendererClass
           
protected  List<FacesRendererExtension> rendererExtension
           
protected  String rendererType
           
 
Constructor Summary
FacesRenderer()
           
 
Method Summary
 List<FacesAttribute> getAttribute()
          Gets the value of the attribute property.
 String getComponentFamily()
          Gets the value of the componentFamily 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.
 String getRendererClass()
          Gets the value of the rendererClass property.
 List<FacesRendererExtension> getRendererExtension()
          Gets the value of the rendererExtension property.
 String getRendererType()
          Gets the value of the rendererType property.
 void setComponentFamily(String value)
          Sets the value of the componentFamily property.
 void setId(String value)
          Sets the value of the id property.
 void setRendererClass(String value)
          Sets the value of the rendererClass property.
 void setRendererType(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 List<DescriptionType> description

displayName

protected List<String> displayName

icon

protected List<Icon> icon

componentFamily

protected String componentFamily

rendererType

protected String rendererType

rendererClass

protected String rendererClass

facet

protected List<FacesFacet> facet

attribute

protected List<FacesAttribute> attribute

rendererExtension

protected List<FacesRendererExtension> rendererExtension

id

protected String id
Constructor Detail

FacesRenderer

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


getComponentFamily

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

Returns:
possible object is String

setComponentFamily

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

Parameters:
value - allowed object is String

getRendererType

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

Returns:
possible object is String

setRendererType

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

Parameters:
value - allowed object is String

getRendererClass

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

Returns:
possible object is String

setRendererClass

public void setRendererClass(String value)
Sets the value of the rendererClass 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


getRendererExtension

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