KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > xml > ws > policy > impl > bindings > ObjectFactory


1 //
2
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b26-ea3
3
// See <a HREF="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4
// Any modifications to this file will be lost upon recompilation of the source schema.
5
// Generated on: 2006.02.24 at 05:55:09 PM PST
6
//
7

8
9 package com.sun.xml.ws.policy.impl.bindings;
10
11 import javax.xml.bind.JAXBElement;
12 import javax.xml.bind.annotation.XmlElementDecl;
13 import javax.xml.bind.annotation.XmlRegistry;
14 import javax.xml.namespace.QName JavaDoc;
15 import com.sun.xml.ws.policy.impl.bindings.AppliesTo;
16 import com.sun.xml.ws.policy.impl.bindings.ObjectFactory;
17 import com.sun.xml.ws.policy.impl.bindings.OperatorContentType;
18 import com.sun.xml.ws.policy.impl.bindings.Policy;
19 import com.sun.xml.ws.policy.impl.bindings.PolicyAttachment;
20 import com.sun.xml.ws.policy.impl.bindings.PolicyReference;
21 import com.sun.xml.ws.policy.impl.bindings.UsingPolicy;
22
23
24 /**
25  * This object contains factory methods for each
26  * Java content interface and Java element interface
27  * generated in the com.sun.xml.ws.policy.impl.bindings package.
28  * <p>An ObjectFactory allows you to programatically
29  * construct new instances of the Java representation
30  * for XML content. The Java representation of XML
31  * content can consist of schema derived interfaces
32  * and classes representing the binding of schema
33  * type definitions, element declarations and model
34  * groups. Factory methods for each of these are
35  * provided in this class.
36  *
37  */

38 @XmlRegistry
39 public class ObjectFactory {
40
41     private final static QName JavaDoc _ExactlyOne_QNAME = new QName JavaDoc("http://schemas.xmlsoap.org/ws/2004/09/policy", "ExactlyOne");
42     private final static QName JavaDoc _All_QNAME = new QName JavaDoc("http://schemas.xmlsoap.org/ws/2004/09/policy", "All");
43
44     /**
45      * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.xml.ws.policy.impl.bindings
46      *
47      */

48     public ObjectFactory() {
49     }
50
51     /**
52      * Create an instance of {@link UsingPolicy }
53      *
54      */

55     public UsingPolicy createUsingPolicy() {
56         return new UsingPolicy();
57     }
58
59     /**
60      * Create an instance of {@link PolicyReference }
61      *
62      */

63     public PolicyReference createPolicyReference() {
64         return new PolicyReference();
65     }
66
67     /**
68      * Create an instance of {@link PolicyAttachment }
69      *
70      */

71     public PolicyAttachment createPolicyAttachment() {
72         return new PolicyAttachment();
73     }
74
75     /**
76      * Create an instance of {@link AppliesTo }
77      *
78      */

79     public AppliesTo createAppliesTo() {
80         return new AppliesTo();
81     }
82
83     /**
84      * Create an instance of {@link OperatorContentType }
85      *
86      */

87     public OperatorContentType createOperatorContentType() {
88         return new OperatorContentType();
89     }
90
91     /**
92      * Create an instance of {@link Policy }
93      *
94      */

95     public Policy createPolicy() {
96         return new Policy();
97     }
98
99     /**
100      * Create an instance of {@link JAXBElement }{@code <}{@link OperatorContentType }{@code >}}
101      *
102      */

103     @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2004/09/policy", name = "ExactlyOne")
104     public JAXBElement<OperatorContentType> createExactlyOne(OperatorContentType value) {
105         return new JAXBElement<OperatorContentType>(_ExactlyOne_QNAME, OperatorContentType.class, null, value);
106     }
107
108     /**
109      * Create an instance of {@link JAXBElement }{@code <}{@link OperatorContentType }{@code >}}
110      *
111      */

112     @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2004/09/policy", name = "All")
113     public JAXBElement<OperatorContentType> createAll(OperatorContentType value) {
114         return new JAXBElement<OperatorContentType>(_All_QNAME, OperatorContentType.class, null, value);
115     }
116
117 }
118
Popular Tags