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.soap11;
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.soap11 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 _Body_QNAME = new QName(
054: "http://schemas.xmlsoap.org/soap/envelope/", "Body");
055: private final static QName _Fault_QNAME = new QName(
056: "http://schemas.xmlsoap.org/soap/envelope/", "Fault");
057: private final static QName _Envelope_QNAME = new QName(
058: "http://schemas.xmlsoap.org/soap/envelope/", "Envelope");
059: private final static QName _Header_QNAME = new QName(
060: "http://schemas.xmlsoap.org/soap/envelope/", "Header");
061:
062: /**
063: * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.xml.ws.security.soap11
064: *
065: */
066: public ObjectFactory() {
067: }
068:
069: /**
070: * Create an instance of {@link Body }
071: *
072: */
073: public Body createBody() {
074: return new Body();
075: }
076:
077: /**
078: * Create an instance of {@link Envelope }
079: *
080: */
081: public Envelope createEnvelope() {
082: return new Envelope();
083: }
084:
085: /**
086: * Create an instance of {@link Fault }
087: *
088: */
089: public Fault createFault() {
090: return new Fault();
091: }
092:
093: /**
094: * Create an instance of {@link Detail }
095: *
096: */
097: public Detail createDetail() {
098: return new Detail();
099: }
100:
101: /**
102: * Create an instance of {@link Header }
103: *
104: */
105: public Header createHeader() {
106: return new Header();
107: }
108:
109: /**
110: * Create an instance of {@link JAXBElement }{@code <}{@link Body }{@code >}}
111: *
112: */
113: @XmlElementDecl(namespace="http://schemas.xmlsoap.org/soap/envelope/",name="Body")
114: public JAXBElement<Body> createBody(Body value) {
115: return new JAXBElement<Body>(_Body_QNAME, Body.class, null,
116: value);
117: }
118:
119: /**
120: * Create an instance of {@link JAXBElement }{@code <}{@link Fault }{@code >}}
121: *
122: */
123: @XmlElementDecl(namespace="http://schemas.xmlsoap.org/soap/envelope/",name="Fault")
124: public JAXBElement<Fault> createFault(Fault value) {
125: return new JAXBElement<Fault>(_Fault_QNAME, Fault.class, null,
126: value);
127: }
128:
129: /**
130: * Create an instance of {@link JAXBElement }{@code <}{@link Envelope }{@code >}}
131: *
132: */
133: @XmlElementDecl(namespace="http://schemas.xmlsoap.org/soap/envelope/",name="Envelope")
134: public JAXBElement<Envelope> createEnvelope(Envelope value) {
135: return new JAXBElement<Envelope>(_Envelope_QNAME,
136: Envelope.class, null, value);
137: }
138:
139: /**
140: * Create an instance of {@link JAXBElement }{@code <}{@link Header }{@code >}}
141: *
142: */
143: @XmlElementDecl(namespace="http://schemas.xmlsoap.org/soap/envelope/",name="Header")
144: public JAXBElement<Header> createHeader(Header value) {
145: return new JAXBElement<Header>(_Header_QNAME, Header.class,
146: null, value);
147: }
148:
149: }
|