This project has retired. For details please refer to its Attic page.
ObjectFactory xref
View Javadoc
1   /*
2    * Copyright 2001-2008 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   *
16   */
17  
18  
19  package org.apache.juddi;
20  
21  import javax.xml.bind.JAXBElement;
22  import javax.xml.bind.annotation.XmlElementDecl;
23  import javax.xml.bind.annotation.XmlRegistry;
24  import javax.xml.namespace.QName;
25  
26  import org.apache.juddi.api_v3.Publisher;
27  
28  
29  /**
30   * This object contains factory methods for each 
31   * Java content interface and Java element interface. 
32   * <p>An ObjectFactory allows you to programatically 
33   * construct new instances of the Java representation 
34   * for XML content. The Java representation of XML 
35   * content can consist of schema derived interfaces 
36   * and classes representing the binding of schema 
37   * type definitions, element declarations and model 
38   * groups.  Factory methods for each of these are 
39   * provided in this class.
40   * 
41   * This object was copied from the UDDI generated package 
42   * and hand-edited to fit the juddi specific Publisher structures.
43   * 
44   * @author <a href="mailto:jfaath@apache.org">Jeff Faath</a>
45   */
46  @XmlRegistry
47  public class ObjectFactory {
48  	
49  	 private final static QName _InitialContextInfo_QNAME = new QName("", "initialContextInfo");
50      /**
51       * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.juddi.api_v3
52       * 
53       */
54      public ObjectFactory() {
55      }
56  
57      /**
58       * Create an instance of {@link Publisher }
59       * 
60       */
61      public InitialContextInfo createInitialContextInfo() {
62          return new InitialContextInfo();
63      }
64      /**
65       * Create an instance of {@link JAXBElement }{@code <}{@link Publisher }{@code >}}
66       * 
67       */
68      @XmlElementDecl(namespace = "", name = "initialContextInfo")
69      public JAXBElement<InitialContextInfo> createInitialContextInfo(InitialContextInfo value) {
70          return new JAXBElement<InitialContextInfo>(_InitialContextInfo_QNAME, InitialContextInfo.class, null, value);
71      }
72  
73    
74  }