org.apache.openejb.jee
Class FacesConfig

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

public class FacesConfig
extends 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  List<FacesApplication> application
           
protected  List<FacesComponent> component
           
protected  List<FacesConverter> converter
           
protected  List<FacesExtension> facesConfigExtension
           
protected  List<FacesFactory> factory
           
protected  String id
           
protected  List<FacesLifecycle> lifecycle
           
protected  List<FacesManagedBean> managedBean
           
protected  List<FacesNavigationRule> navigationRule
           
protected  List<FacesReferencedBean> referencedBean
           
protected  List<FacesRenderKit> renderKit
           
protected  List<FacesValidator> validator
           
protected  String version
           
 
Constructor Summary
FacesConfig()
           
 
Method Summary
 List<FacesApplication> getApplication()
          Gets the value of the application property.
 List<FacesComponent> getComponent()
          Gets the value of the component property.
 List<FacesConverter> getConverter()
          Gets the value of the converter property.
 List<FacesExtension> getFacesConfigExtension()
          Gets the value of the facesConfigExtension property.
 List<FacesFactory> getFactory()
          Gets the value of the factory property.
 String getId()
          Gets the value of the id property.
 List<FacesLifecycle> getLifecycle()
          Gets the value of the lifecycle property.
 List<FacesManagedBean> getManagedBean()
          Gets the value of the managedBean property.
 List<FacesNavigationRule> getNavigationRule()
          Gets the value of the navigationRule property.
 List<FacesReferencedBean> getReferencedBean()
          Gets the value of the referencedBean property.
 List<FacesRenderKit> getRenderKit()
          Gets the value of the renderKit property.
 List<FacesValidator> getValidator()
          Gets the value of the validator property.
 String getVersion()
          Gets the value of the version property.
 void setId(String value)
          Sets the value of the id property.
 void setVersion(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 List<FacesApplication> application

factory

protected List<FacesFactory> factory

component

protected List<FacesComponent> component

converter

protected List<FacesConverter> converter

managedBean

protected List<FacesManagedBean> managedBean

navigationRule

protected List<FacesNavigationRule> navigationRule

referencedBean

protected List<FacesReferencedBean> referencedBean

renderKit

protected List<FacesRenderKit> renderKit

lifecycle

protected List<FacesLifecycle> lifecycle

validator

protected List<FacesValidator> validator

facesConfigExtension

protected List<FacesExtension> facesConfigExtension

id

protected String id

version

protected String version
Constructor Detail

FacesConfig

public FacesConfig()
Method Detail

getApplication

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

getVersion

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

Returns:
possible object is String

setVersion

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

Parameters:
value - allowed object is String


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