org.apache.openejb.jee.FacesFactory Maven / Gradle / Ivy
The newest version!
/**
* 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.
*/
package org.apache.openejb.jee;
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;
import java.util.ArrayList;
import java.util.List;
/**
* web-facesconfig_2_0.xsd
*
* Java class for faces-config-factoryType complex type.
*
* The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="faces-config-factoryType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice maxOccurs="unbounded" minOccurs="0">
* <element name="application-factory" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
* <element name="exception-handler-factory" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
* <element name="external-context-factory" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
* <element name="faces-context-factory" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
* <element name="partial-view-context-factory" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
* <element name="lifecycle-factory" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
* <element name="view-declaration-language-factory" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
* <element name="tag-handler-delegate-factory" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
* <element name="render-kit-factory" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
* <element name="visit-context-factory" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
* <element name="factory-extension" type="{http://java.sun.com/xml/ns/javaee}faces-config-factory-extensionType" maxOccurs="unbounded" minOccurs="0"/>
* </choice>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
* </restriction>
* </complexContent>
* </complexType>
*
* 5 *
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "faces-config-factoryType", propOrder = {
"applicationFactory",
"exceptionHandlerFactory",
"externalContextFactory",
"facesContextFactory",
"partialViewContextFactory",
"lifecycleFactory",
"viewDeclarationLanguageFactory",
"tagHandlerDelegateFactory",
"renderKitFactory",
"visitContextFactory",
"factoryExtension"
})
public class FacesFactory {
@XmlElement(name = "application-factory")
protected List applicationFactory;
@XmlElement(name = "exception-handler-factory")
protected List exceptionHandlerFactory;
@XmlElement(name = "external-context-factory")
protected List externalContextFactory;
@XmlElement(name = "faces-context-factory")
protected List facesContextFactory;
@XmlElement(name = "partial-view-context-factory")
protected List partialViewContextFactory;
@XmlElement(name = "lifecycle-factory")
protected List lifecycleFactory;
@XmlElement(name = "view-declaration-language-factory")
protected List viewDeclarationLanguageFactory;
@XmlElement(name = "tag-handler-delegate-factory")
protected List tagHandlerDelegateFactory;
@XmlElement(name = "render-kit-factory")
protected List renderKitFactory;
@XmlElement(name = "visit-context-factory")
protected List visitContextFactory;
@XmlElement(name = "factory-extension")
protected List factoryExtension;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected java.lang.String id;
/**
* Gets the value of the applicationFactory 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 applicationFactory property.
*
*
* For example, to add a new item, do as follows:
*
* getApplicationFactory().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link java.lang.String }
*/
public List getApplicationFactory() {
if (applicationFactory == null) {
applicationFactory = new ArrayList();
}
return this.applicationFactory;
}
public List getExceptionHandlerFactory() {
if (exceptionHandlerFactory == null) {
exceptionHandlerFactory = new ArrayList();
}
return exceptionHandlerFactory;
}
public List getExternalContextFactory() {
if (externalContextFactory == null) {
externalContextFactory = new ArrayList();
}
return externalContextFactory;
}
/**
* Gets the value of the facesContextFactory 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 facesContextFactory property.
*
*
* For example, to add a new item, do as follows:
*
* getFacesContextFactory().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link java.lang.String }
*/
public List getFacesContextFactory() {
if (facesContextFactory == null) {
facesContextFactory = new ArrayList();
}
return this.facesContextFactory;
}
/**
* Gets the value of the lifecycleFactory 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 lifecycleFactory property.
*
*
* For example, to add a new item, do as follows:
*
* getLifecycleFactory().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link java.lang.String }
*/
public List getLifecycleFactory() {
if (lifecycleFactory == null) {
lifecycleFactory = new ArrayList();
}
return this.lifecycleFactory;
}
public List getViewDeclarationLanguageFactory() {
if (viewDeclarationLanguageFactory == null) {
viewDeclarationLanguageFactory = new ArrayList();
}
return viewDeclarationLanguageFactory;
}
public List getPartialViewContextFactory() {
if (partialViewContextFactory == null) {
partialViewContextFactory = new ArrayList();
}
return partialViewContextFactory;
}
public List getTagHandlerDelegateFactory() {
if (tagHandlerDelegateFactory == null) {
tagHandlerDelegateFactory = new ArrayList();
}
return tagHandlerDelegateFactory;
}
/**
* Gets the value of the renderKitFactory 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 renderKitFactory property.
*
*
* For example, to add a new item, do as follows:
*
* getRenderKitFactory().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link java.lang.String }
*/
public List getRenderKitFactory() {
if (renderKitFactory == null) {
renderKitFactory = new ArrayList();
}
return this.renderKitFactory;
}
public List getVisitContextFactory() {
if (visitContextFactory == null) {
visitContextFactory = new ArrayList();
}
return visitContextFactory;
}
/**
* Gets the value of the factoryExtension 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 factoryExtension property.
*
*
* For example, to add a new item, do as follows:
*
* getFactoryExtension().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FacesFactoryExtension }
*/
public List getFactoryExtension() {
if (factoryExtension == null) {
factoryExtension = new ArrayList();
}
return this.factoryExtension;
}
/**
* 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(final java.lang.String value) {
this.id = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy