Class FacesConfig


  • public class FacesConfig
    extends Object
    web-facesconfig_2_0.xsd

    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">
           <choice maxOccurs="unbounded" minOccurs="0">
             <element name="application" type="{http://java.sun.com/xml/ns/javaee}faces-config-applicationType"/>
             <element name="ordering" type="{http://java.sun.com/xml/ns/javaee}faces-config-orderingType"/>
             <element name="absolute-ordering" type="{http://java.sun.com/xml/ns/javaee}faces-config-absoluteOrderingType" minOccurs="0"/>
             <element name="factory" type="{http://java.sun.com/xml/ns/javaee}faces-config-factoryType"/>
             <element name="component" type="{http://java.sun.com/xml/ns/javaee}faces-config-componentType"/>
             <element name="converter" type="{http://java.sun.com/xml/ns/javaee}faces-config-converterType"/>
             <element name="managed-bean" type="{http://java.sun.com/xml/ns/javaee}faces-config-managed-beanType"/>
             <element name="name" type="{http://java.sun.com/xml/ns/javaee}java-identifierType" minOccurs="0"/>
             <element name="navigation-rule" type="{http://java.sun.com/xml/ns/javaee}faces-config-navigation-ruleType"/>
             <element name="referenced-bean" type="{http://java.sun.com/xml/ns/javaee}faces-config-referenced-beanType"/>
             <element name="render-kit" type="{http://java.sun.com/xml/ns/javaee}faces-config-render-kitType"/>
             <element name="lifecycle" type="{http://java.sun.com/xml/ns/javaee}faces-config-lifecycleType"/>
             <element name="validator" type="{http://java.sun.com/xml/ns/javaee}faces-config-validatorType"/>
             <element name="behavior" type="{http://java.sun.com/xml/ns/javaee}faces-config-behaviorType"/>
             <element name="faces-config-extension" type="{http://java.sun.com/xml/ns/javaee}faces-config-extensionType" maxOccurs="unbounded" minOccurs="0"/>
           </choice>
           <attribute name="metadata-complete" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
           <attribute name="version" use="required" type="{http://java.sun.com/xml/ns/javaee}faces-config-versionType" />
         </restriction>
       </complexContent>
     </complexType>
     
    59 *
    • 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
      • isMetadataComplete

        public Boolean isMetadataComplete()
      • setMetadataComplete

        public void setMetadataComplete​(Boolean value)