Home » geronimo-eclipse-plugin-2.2-source-release » org.apache.geronimo.jee.application » [javadoc | source]

    1   /*
    2    * Licensed to the Apache Software Foundation (ASF) under one or more
    3    * contributor license agreements.  See the NOTICE file distributed with
    4    * this work for additional information regarding copyright ownership.
    5    * The ASF licenses this file to You under the Apache License, Version 2.0
    6    * (the "License"); you may not use this file except in compliance with
    7    * the License.  You may obtain a copy of the License at
    8    *
    9    *    http://www.apache.org/licenses/LICENSE-2.0
   10    *
   11    * Unless required by applicable law or agreed to in writing, software
   12    * distributed under the License is distributed on an "AS IS" BASIS,
   13    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   14    * See the License for the specific language governing permissions and
   15    * limitations under the License.
   16    */
   17   
   18   package org.apache.geronimo.jee.application;
   19   
   20   import javax.xml.bind.JAXBElement;
   21   import javax.xml.bind.annotation.XmlElementDecl;
   22   import javax.xml.bind.annotation.XmlRegistry;
   23   import javax.xml.namespace.QName;
   24   
   25   
   26   /**
   27    * This object contains factory methods for each 
   28    * Java content interface and Java element interface 
   29    * generated in the <strong>org.apache.geronimo.jee.application</strong> package. 
   30    * 
   31    * <p>An ObjectFactory allows you to programatically 
   32    * construct new instances of the Java representation 
   33    * for XML content. The Java representation of XML 
   34    * content can consist of schema derived interfaces 
   35    * and classes representing the binding of schema 
   36    * type definitions, element declarations and model 
   37    * groups.  Factory methods for each of these are 
   38    * provided in this class.
   39    * 
   40    * @version $Rev: 642503 $ $Date: 2008-03-29 12:35:01 +0800 (Sat, 29 Mar 2008) $
   41    */
   42   @XmlRegistry
   43   public class ObjectFactory {
   44   
   45       private final static QName _Security_QNAME = new QName("http://geronimo.apache.org/xml/ns/j2ee/application-2.0", "security");
   46       private final static QName _Application_QNAME = new QName("http://geronimo.apache.org/xml/ns/j2ee/application-2.0", "application");
   47       private final static QName _Clustering_QNAME = new QName("http://geronimo.apache.org/xml/ns/j2ee/application-2.0", "clustering");
   48   
   49       /**
   50        * Create a new ObjectFactory that can be used to create new instances of schema 
   51        * derived classes for package: org.apache.geronimo.jee.application
   52        * 
   53        */
   54       public ObjectFactory() {
   55       }
   56   
   57       /**
   58        * Create an instance of {@link StringType }
   59        * 
   60        */
   61       public StringType createStringType() {
   62           return new StringType();
   63       }
   64   
   65       /**
   66        * Create an instance of {@link ExtModule }
   67        * 
   68        */
   69       public ExtModule createExtModule() {
   70           return new ExtModule();
   71       }
   72   
   73       /**
   74        * Create an instance of {@link Module }
   75        * 
   76        */
   77       public Module createModule() {
   78           return new Module();
   79       }
   80   
   81       /**
   82        * Create an instance of {@link Application }
   83        * 
   84        */
   85       public Application createApplication() {
   86           return new Application();
   87       }
   88   
   89       /**
   90        * Create an instance of {@link Path }
   91        * 
   92        */
   93       public Path createPath() {
   94           return new Path();
   95       }
   96   
   97       /**
   98        * Create an instance of {@link JAXBElement }{@code <}{@link AbstractSecurity }{@code >}}
   99        * 
  100        */
  101       @XmlElementDecl(namespace = "http://geronimo.apache.org/xml/ns/j2ee/application-2.0", name = "security")
  102       public JAXBElement<AbstractSecurity> createSecurity(AbstractSecurity value) {
  103           return new JAXBElement<AbstractSecurity>(_Security_QNAME, AbstractSecurity.class, null, value);
  104       }
  105   
  106       /**
  107        * Create an instance of {@link JAXBElement }{@code <}{@link Application }{@code >}}
  108        * 
  109        */
  110       @XmlElementDecl(namespace = "http://geronimo.apache.org/xml/ns/j2ee/application-2.0", name = "application")
  111       public JAXBElement<Application> createApplication(Application value) {
  112           return new JAXBElement<Application>(_Application_QNAME, Application.class, null, value);
  113       }
  114   
  115       /**
  116        * Create an instance of {@link JAXBElement }{@code <}{@link AbstractClustering }{@code >}}
  117        * 
  118        */
  119       @XmlElementDecl(namespace = "http://geronimo.apache.org/xml/ns/j2ee/application-2.0", name = "clustering")
  120       public JAXBElement<AbstractClustering> createClustering(AbstractClustering value) {
  121           return new JAXBElement<AbstractClustering>(_Clustering_QNAME, AbstractClustering.class, null, value);
  122       }
  123   
  124   }

Home » geronimo-eclipse-plugin-2.2-source-release » org.apache.geronimo.jee.application » [javadoc | source]