org.apache.openejb.jee
Class FacesConfig

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

public class FacesConfig
extends java.lang.Object

The "faces-config" element is the root of the configuration information hierarchy, and contains nested elements for all of the other configuration settings.

Java class for faces-configType complex type.

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

 <complexType name="faces-configType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="application" type="{http://java.sun.com/xml/ns/javaee}faces-config-applicationType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="factory" type="{http://java.sun.com/xml/ns/javaee}faces-config-factoryType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="component" type="{http://java.sun.com/xml/ns/javaee}faces-config-componentType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="converter" type="{http://java.sun.com/xml/ns/javaee}faces-config-converterType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="managed-bean" type="{http://java.sun.com/xml/ns/javaee}faces-config-managed-beanType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="navigation-rule" type="{http://java.sun.com/xml/ns/javaee}faces-config-navigation-ruleType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="referenced-bean" type="{http://java.sun.com/xml/ns/javaee}faces-config-referenced-beanType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="render-kit" type="{http://java.sun.com/xml/ns/javaee}faces-config-render-kitType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="lifecycle" type="{http://java.sun.com/xml/ns/javaee}faces-config-lifecycleType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="validator" type="{http://java.sun.com/xml/ns/javaee}faces-config-validatorType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="faces-config-extension" type="{http://java.sun.com/xml/ns/javaee}faces-config-extensionType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<FacesApplication> application
           
protected  java.util.List<FacesComponent> component
           
protected  java.util.List<FacesConverter> converter
           
protected  java.util.List<FacesExtension> facesConfigExtension
           
protected  java.util.List<FacesFactory> factory
           
protected  java.lang.String id
           
protected  java.util.List<FacesLifecycle> lifecycle
           
protected  java.util.List<FacesManagedBean> managedBean
           
protected  java.util.List<FacesNavigationRule> navigationRule
           
protected  java.util.List<FacesReferencedBean> referencedBean
           
protected  java.util.List<FacesRenderKit> renderKit
           
protected  java.util.List<FacesValidator> validator
           
protected  java.lang.String version
           
 
Constructor Summary
FacesConfig()
           
 
Method Summary
 java.util.List<FacesApplication> getApplication()
          Gets the value of the application property.
 java.util.List<FacesComponent> getComponent()
          Gets the value of the component property.
 java.util.List<FacesConverter> getConverter()
          Gets the value of the converter property.
 java.util.List<FacesExtension> getFacesConfigExtension()
          Gets the value of the facesConfigExtension property.
 java.util.List<FacesFactory> getFactory()
          Gets the value of the factory property.
 java.lang.String getId()
          Gets the value of the id property.
 java.util.List<FacesLifecycle> getLifecycle()
          Gets the value of the lifecycle property.
 java.util.List<FacesManagedBean> getManagedBean()
          Gets the value of the managedBean property.
 java.util.List<FacesNavigationRule> getNavigationRule()
          Gets the value of the navigationRule property.
 java.util.List<FacesReferencedBean> getReferencedBean()
          Gets the value of the referencedBean property.
 java.util.List<FacesRenderKit> getRenderKit()
          Gets the value of the renderKit property.
 java.util.List<FacesValidator> getValidator()
          Gets the value of the validator property.
 java.lang.String getVersion()
          Gets the value of the version property.
 void setId(java.lang.String value)
          Sets the value of the id property.
 void setVersion(java.lang.String value)
          Sets the value of the version property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

application

protected java.util.List<FacesApplication> application

factory

protected java.util.List<FacesFactory> factory

component

protected java.util.List<FacesComponent> component

converter

protected java.util.List<FacesConverter> converter

managedBean

protected java.util.List<FacesManagedBean> managedBean

navigationRule

protected java.util.List<FacesNavigationRule> navigationRule

referencedBean

protected java.util.List<FacesReferencedBean> referencedBean

renderKit

protected java.util.List<FacesRenderKit> renderKit

lifecycle

protected java.util.List<FacesLifecycle> lifecycle

validator

protected java.util.List<FacesValidator> validator

facesConfigExtension

protected java.util.List<FacesExtension> facesConfigExtension

id

protected java.lang.String id

version

protected java.lang.String version
Constructor Detail

FacesConfig

public FacesConfig()
Method Detail

getApplication

public java.util.List<FacesApplication> getApplication()
Gets the value of the application 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 application property.

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

    getApplication().add(newItem);
 

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


getFactory

public java.util.List<FacesFactory> getFactory()
Gets the value of the factory 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 factory property.

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

    getFactory().add(newItem);
 

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


getComponent

public java.util.List<FacesComponent> getComponent()
Gets the value of the component 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 component property.

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

    getComponent().add(newItem);
 

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


getConverter

public java.util.List<FacesConverter> getConverter()
Gets the value of the converter 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 converter property.

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

    getConverter().add(newItem);
 

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


getManagedBean

public java.util.List<FacesManagedBean> getManagedBean()
Gets the value of the managedBean 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 managedBean property.

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

    getManagedBean().add(newItem);
 

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


getNavigationRule

public java.util.List<FacesNavigationRule> getNavigationRule()
Gets the value of the navigationRule 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 navigationRule property.

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

    getNavigationRule().add(newItem);
 

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


getReferencedBean

public java.util.List<FacesReferencedBean> getReferencedBean()
Gets the value of the referencedBean 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 referencedBean property.

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

    getReferencedBean().add(newItem);
 

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


getRenderKit

public java.util.List<FacesRenderKit> getRenderKit()
Gets the value of the renderKit 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 renderKit property.

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

    getRenderKit().add(newItem);
 

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


getLifecycle

public java.util.List<FacesLifecycle> getLifecycle()
Gets the value of the lifecycle 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 lifecycle property.

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

    getLifecycle().add(newItem);
 

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


getValidator

public java.util.List<FacesValidator> getValidator()
Gets the value of the validator 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 validator property.

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

    getValidator().add(newItem);
 

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


getFacesConfigExtension

public java.util.List<FacesExtension> getFacesConfigExtension()
Gets the value of the facesConfigExtension 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 facesConfigExtension property.

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

    getFacesConfigExtension().add(newItem);
 

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


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

getVersion

public java.lang.String getVersion()
Gets the value of the version property.

Returns:
possible object is String

setVersion

public void setVersion(java.lang.String value)
Sets the value of the version property.

Parameters:
value - allowed object is String


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