001: /*
002: * The contents of this file are subject to the terms
003: * of the Common Development and Distribution License
004: * (the License). You may not use this file except in
005: * compliance with the License.
006: *
007: * You can obtain a copy of the license at
008: * https://glassfish.dev.java.net/public/CDDLv1.0.html.
009: * See the License for the specific language governing
010: * permissions and limitations under the License.
011: *
012: * When distributing Covered Code, include this CDDL
013: * Header Notice in each file and include the License file
014: * at https://glassfish.dev.java.net/public/CDDLv1.0.html.
015: * If applicable, add the following below the CDDL Header,
016: * with the fields enclosed by brackets [] replaced by
017: * you own identifying information:
018: * "Portions Copyrighted [year] [name of copyright owner]"
019: *
020: * Copyright 2006 Sun Microsystems Inc. All Rights Reserved
021: */
022: //
023: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs
024: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
025: // Any modifications to this file will be lost upon recompilation of the source schema.
026: // Generated on: 2006.08.10 at 02:34:36 PM IST
027: //
028:
029: package com.sun.xml.ws.security.soap12;
030:
031: import javax.xml.bind.JAXBElement;
032: import javax.xml.bind.annotation.XmlElementDecl;
033: import javax.xml.bind.annotation.XmlRegistry;
034: import javax.xml.namespace.QName;
035:
036: /**
037: * This object contains factory methods for each
038: * Java content interface and Java element interface
039: * generated in the com.sun.xml.ws.security.soap12 package.
040: * <p>An ObjectFactory allows you to programatically
041: * construct new instances of the Java representation
042: * for XML content. The Java representation of XML
043: * content can consist of schema derived interfaces
044: * and classes representing the binding of schema
045: * type definitions, element declarations and model
046: * groups. Factory methods for each of these are
047: * provided in this class.
048: *
049: */
050: @XmlRegistry
051: public class ObjectFactory {
052:
053: private final static QName _Upgrade_QNAME = new QName(
054: "http://www.w3.org/2003/05/soap-envelope", "Upgrade");
055: private final static QName _NotUnderstood_QNAME = new QName(
056: "http://www.w3.org/2003/05/soap-envelope", "NotUnderstood");
057: private final static QName _Body_QNAME = new QName(
058: "http://www.w3.org/2003/05/soap-envelope", "Body");
059: private final static QName _Header_QNAME = new QName(
060: "http://www.w3.org/2003/05/soap-envelope", "Header");
061: private final static QName _Envelope_QNAME = new QName(
062: "http://www.w3.org/2003/05/soap-envelope", "Envelope");
063: private final static QName _Fault_QNAME = new QName(
064: "http://www.w3.org/2003/05/soap-envelope", "Fault");
065:
066: /**
067: * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.xml.ws.security.soap12
068: *
069: */
070: public ObjectFactory() {
071: }
072:
073: /**
074: * Create an instance of {@link Faultcode }
075: *
076: */
077: public Faultcode createFaultcode() {
078: return new Faultcode();
079: }
080:
081: /**
082: * Create an instance of {@link Envelope }
083: *
084: */
085: public Envelope createEnvelope() {
086: return new Envelope();
087: }
088:
089: /**
090: * Create an instance of {@link Faultreason }
091: *
092: */
093: public Faultreason createFaultreason() {
094: return new Faultreason();
095: }
096:
097: /**
098: * Create an instance of {@link SupportedEnvType }
099: *
100: */
101: public SupportedEnvType createSupportedEnvType() {
102: return new SupportedEnvType();
103: }
104:
105: /**
106: * Create an instance of {@link NotUnderstoodType }
107: *
108: */
109: public NotUnderstoodType createNotUnderstoodType() {
110: return new NotUnderstoodType();
111: }
112:
113: /**
114: * Create an instance of {@link Body }
115: *
116: */
117: public Body createBody() {
118: return new Body();
119: }
120:
121: /**
122: * Create an instance of {@link UpgradeType }
123: *
124: */
125: public UpgradeType createUpgradeType() {
126: return new UpgradeType();
127: }
128:
129: /**
130: * Create an instance of {@link Header }
131: *
132: */
133: public Header createHeader() {
134: return new Header();
135: }
136:
137: /**
138: * Create an instance of {@link Fault }
139: *
140: */
141: public Fault createFault() {
142: return new Fault();
143: }
144:
145: /**
146: * Create an instance of {@link Detail }
147: *
148: */
149: public Detail createDetail() {
150: return new Detail();
151: }
152:
153: /**
154: * Create an instance of {@link Reasontext }
155: *
156: */
157: public Reasontext createReasontext() {
158: return new Reasontext();
159: }
160:
161: /**
162: * Create an instance of {@link Subcode }
163: *
164: */
165: public Subcode createSubcode() {
166: return new Subcode();
167: }
168:
169: /**
170: * Create an instance of {@link JAXBElement }{@code <}{@link UpgradeType }{@code >}}
171: *
172: */
173: @XmlElementDecl(namespace="http://www.w3.org/2003/05/soap-envelope",name="Upgrade")
174: public JAXBElement<UpgradeType> createUpgrade(UpgradeType value) {
175: return new JAXBElement<UpgradeType>(_Upgrade_QNAME,
176: UpgradeType.class, null, value);
177: }
178:
179: /**
180: * Create an instance of {@link JAXBElement }{@code <}{@link NotUnderstoodType }{@code >}}
181: *
182: */
183: @XmlElementDecl(namespace="http://www.w3.org/2003/05/soap-envelope",name="NotUnderstood")
184: public JAXBElement<NotUnderstoodType> createNotUnderstood(
185: NotUnderstoodType value) {
186: return new JAXBElement<NotUnderstoodType>(_NotUnderstood_QNAME,
187: NotUnderstoodType.class, null, value);
188: }
189:
190: /**
191: * Create an instance of {@link JAXBElement }{@code <}{@link Body }{@code >}}
192: *
193: */
194: @XmlElementDecl(namespace="http://www.w3.org/2003/05/soap-envelope",name="Body")
195: public JAXBElement<Body> createBody(Body value) {
196: return new JAXBElement<Body>(_Body_QNAME, Body.class, null,
197: value);
198: }
199:
200: /**
201: * Create an instance of {@link JAXBElement }{@code <}{@link Header }{@code >}}
202: *
203: */
204: @XmlElementDecl(namespace="http://www.w3.org/2003/05/soap-envelope",name="Header")
205: public JAXBElement<Header> createHeader(Header value) {
206: return new JAXBElement<Header>(_Header_QNAME, Header.class,
207: null, value);
208: }
209:
210: /**
211: * Create an instance of {@link JAXBElement }{@code <}{@link Envelope }{@code >}}
212: *
213: */
214: @XmlElementDecl(namespace="http://www.w3.org/2003/05/soap-envelope",name="Envelope")
215: public JAXBElement<Envelope> createEnvelope(Envelope value) {
216: return new JAXBElement<Envelope>(_Envelope_QNAME,
217: Envelope.class, null, value);
218: }
219:
220: /**
221: * Create an instance of {@link JAXBElement }{@code <}{@link Fault }{@code >}}
222: *
223: */
224: @XmlElementDecl(namespace="http://www.w3.org/2003/05/soap-envelope",name="Fault")
225: public JAXBElement<Fault> createFault(Fault value) {
226: return new JAXBElement<Fault>(_Fault_QNAME, Fault.class, null,
227: value);
228: }
229:
230: }
|