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.uddi.policy_v3;
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  
27  /**
28   * This object contains factory methods for each 
29   * Java content interface and Java element interface 
30   * generated in the org.uddi.policy_v3 package. 
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   */
41  @XmlRegistry
42  public class ObjectFactory {
43  
44      private final static QName _PolicyName_QNAME = new QName("urn:uddi-org:policy_v3", "policyName");
45      private final static QName _PolicyDescription_QNAME = new QName("urn:uddi-org:policy_v3", "policyDescription");
46      private final static QName _PolicyDecisionPoint_QNAME = new QName("urn:uddi-org:policy_v3", "policyDecisionPoint");
47  
48      /**
49       * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.uddi.policy_v3
50       * 
51       */
52      public ObjectFactory() {
53      }
54  
55      /**
56       * Create an instance of {@link Policies }
57       * 
58       */
59      public Policies createPolicies() {
60          return new Policies();
61      }
62  
63      /**
64       * Create an instance of {@link PolicyDescriptionType }
65       * 
66       */
67      public PolicyDescriptionType createPolicyDescriptionType() {
68          return new PolicyDescriptionType();
69      }
70  
71      /**
72       * Create an instance of {@link Policy }
73       * 
74       */
75      public Policy createPolicy() {
76          return new Policy();
77      }
78  
79      /**
80       * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
81       * 
82       */
83      @XmlElementDecl(namespace = "urn:uddi-org:policy_v3", name = "policyName")
84      public JAXBElement<String> createPolicyName(String value) {
85          return new JAXBElement<String>(_PolicyName_QNAME, String.class, null, value);
86      }
87  
88      /**
89       * Create an instance of {@link JAXBElement }{@code <}{@link PolicyDescriptionType }{@code >}}
90       * 
91       */
92      @XmlElementDecl(namespace = "urn:uddi-org:policy_v3", name = "policyDescription")
93      public JAXBElement<PolicyDescriptionType> createPolicyDescription(PolicyDescriptionType value) {
94          return new JAXBElement<PolicyDescriptionType>(_PolicyDescription_QNAME, PolicyDescriptionType.class, null, value);
95      }
96  
97      /**
98       * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
99       * 
100      */
101     @XmlElementDecl(namespace = "urn:uddi-org:policy_v3", name = "policyDecisionPoint")
102     public JAXBElement<String> createPolicyDecisionPoint(String value) {
103         return new JAXBElement<String>(_PolicyDecisionPoint_QNAME, String.class, null, value);
104     }
105 
106 }