org.apache.openejb.jee.FacesConfig Maven / Gradle / Ivy
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2008.07.13 at 11:14:43 PM EDT
//
package org.apache.openejb.jee;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
*
*
* 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>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "faces-configType", propOrder = {
"application",
"factory",
"component",
"converter",
"managedBean",
"navigationRule",
"referencedBean",
"renderKit",
"lifecycle",
"validator",
"facesConfigExtension"
})
public class FacesConfig {
protected List application;
protected List factory;
protected List component;
protected List converter;
@XmlElement(name = "managed-bean")
protected List managedBean;
@XmlElement(name = "navigation-rule")
protected List navigationRule;
@XmlElement(name = "referenced-bean")
protected List referencedBean;
@XmlElement(name = "render-kit")
protected List renderKit;
protected List lifecycle;
protected List validator;
@XmlElement(name = "faces-config-extension")
protected List facesConfigExtension;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected java.lang.String id;
@XmlAttribute(required = true)
protected java.lang.String version;
/**
* 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
* {@link FacesApplication }
*
*
*/
public List getApplication() {
if (application == null) {
application = new ArrayList();
}
return this.application;
}
/**
* 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
* {@link FacesFactory }
*
*
*/
public List getFactory() {
if (factory == null) {
factory = new ArrayList();
}
return this.factory;
}
/**
* 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
* {@link FacesComponent }
*
*
*/
public List getComponent() {
if (component == null) {
component = new ArrayList();
}
return this.component;
}
/**
* 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
* {@link FacesConverter }
*
*
*/
public List getConverter() {
if (converter == null) {
converter = new ArrayList();
}
return this.converter;
}
/**
* 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
* {@link FacesManagedBean }
*
*
*/
public List getManagedBean() {
if (managedBean == null) {
managedBean = new ArrayList();
}
return this.managedBean;
}
/**
* 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
* {@link FacesNavigationRule }
*
*
*/
public List getNavigationRule() {
if (navigationRule == null) {
navigationRule = new ArrayList();
}
return this.navigationRule;
}
/**
* 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
* {@link FacesReferencedBean }
*
*
*/
public List getReferencedBean() {
if (referencedBean == null) {
referencedBean = new ArrayList();
}
return this.referencedBean;
}
/**
* 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
* {@link FacesRenderKit }
*
*
*/
public List getRenderKit() {
if (renderKit == null) {
renderKit = new ArrayList();
}
return this.renderKit;
}
/**
* 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
* {@link FacesLifecycle }
*
*
*/
public List getLifecycle() {
if (lifecycle == null) {
lifecycle = new ArrayList();
}
return this.lifecycle;
}
/**
* 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
* {@link FacesValidator }
*
*
*/
public List getValidator() {
if (validator == null) {
validator = new ArrayList();
}
return this.validator;
}
/**
* 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
* {@link FacesExtension }
*
*
*/
public List getFacesConfigExtension() {
if (facesConfigExtension == null) {
facesConfigExtension = new ArrayList();
}
return this.facesConfigExtension;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link java.lang.String }
*
*/
public java.lang.String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link java.lang.String }
*
*/
public void setId(java.lang.String value) {
this.id = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link java.lang.String }
*
*/
public java.lang.String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link java.lang.String }
*
*/
public void setVersion(java.lang.String value) {
this.version = value;
}
}