001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common Development
008: * and Distribution License("CDDL") (collectively, the "License"). You
009: * may not use this file except in compliance with the License. You can obtain
010: * a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
011: * or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
012: * language governing permissions and limitations under the License.
013: *
014: * When distributing the software, include this License Header Notice in each
015: * file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
016: * Sun designates this particular file as subject to the "Classpath" exception
017: * as provided by Sun in the GPL Version 2 section of the License file that
018: * accompanied this code. If applicable, add the following below the License
019: * Header, with the fields enclosed by brackets [] replaced by your own
020: * identifying information: "Portions Copyrighted [year]
021: * [name of copyright owner]"
022: *
023: * Contributor(s):
024: *
025: * If you wish your version of this file to be governed by only the CDDL or
026: * only the GPL Version 2, indicate your decision by adding "[Contributor]
027: * elects to include this software in this distribution under the [CDDL or GPL
028: * Version 2] license." If you don't indicate a single choice of license, a
029: * recipient has the option to distribute your version of this file under
030: * either the CDDL, the GPL Version 2 or to extend the choice of license to
031: * its licensees as provided above. However, if you add GPL Version 2 code
032: * and therefore, elected the GPL Version 2 license, then the option applies
033: * only if the new code is made subject to such option by the copyright
034: * holder.
035: */
036:
037: package com.sun.xml.ws.tx.webservice.member.at;
038:
039: import javax.xml.bind.JAXBElement;
040: import javax.xml.bind.annotation.XmlElementDecl;
041: import javax.xml.bind.annotation.XmlRegistry;
042: import javax.xml.namespace.QName;
043:
044: /**
045: * This object contains factory methods for each
046: * Java content interface and Java element interface
047: * generated in the com.sun.xml.ws.tx.webservice.member.at package.
048: * <p>An ObjectFactory allows you to programatically
049: * construct new instances of the Java representation
050: * for XML content. The Java representation of XML
051: * content can consist of schema derived interfaces
052: * and classes representing the binding of schema
053: * type definitions, element declarations and model
054: * groups. Factory methods for each of these are
055: * provided in this class.
056: */
057: @XmlRegistry
058: public class ObjectFactory {
059:
060: private final static QName _Rollback_QNAME = new QName(
061: "http://schemas.xmlsoap.org/ws/2004/10/wsat", "Rollback");
062: private final static QName _ReadOnly_QNAME = new QName(
063: "http://schemas.xmlsoap.org/ws/2004/10/wsat", "ReadOnly");
064: private final static QName _Committed_QNAME = new QName(
065: "http://schemas.xmlsoap.org/ws/2004/10/wsat", "Committed");
066: private final static QName _Prepare_QNAME = new QName(
067: "http://schemas.xmlsoap.org/ws/2004/10/wsat", "Prepare");
068: private final static QName _Aborted_QNAME = new QName(
069: "http://schemas.xmlsoap.org/ws/2004/10/wsat", "Aborted");
070: private final static QName _Replay_QNAME = new QName(
071: "http://schemas.xmlsoap.org/ws/2004/10/wsat", "Replay");
072: private final static QName _Prepared_QNAME = new QName(
073: "http://schemas.xmlsoap.org/ws/2004/10/wsat", "Prepared");
074: private final static QName _Commit_QNAME = new QName(
075: "http://schemas.xmlsoap.org/ws/2004/10/wsat", "Commit");
076:
077: /**
078: * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.xml.ws.tx.webservice.member.at
079: */
080: public ObjectFactory() {
081: }
082:
083: /**
084: * Create an instance of {@link Notification }
085: */
086: public Notification createNotification() {
087: return new Notification();
088: }
089:
090: /**
091: * Create an instance of {@link JAXBElement }{@code <}{@link Notification }{@code >}}
092: */
093: @XmlElementDecl(namespace="http://schemas.xmlsoap.org/ws/2004/10/wsat",name="Rollback")
094: public JAXBElement<Notification> createRollback(Notification value) {
095: return new JAXBElement<Notification>(_Rollback_QNAME,
096: Notification.class, null, value);
097: }
098:
099: /**
100: * Create an instance of {@link JAXBElement }{@code <}{@link Notification }{@code >}}
101: */
102: @XmlElementDecl(namespace="http://schemas.xmlsoap.org/ws/2004/10/wsat",name="ReadOnly")
103: public JAXBElement<Notification> createReadOnly(Notification value) {
104: return new JAXBElement<Notification>(_ReadOnly_QNAME,
105: Notification.class, null, value);
106: }
107:
108: /**
109: * Create an instance of {@link JAXBElement }{@code <}{@link Notification }{@code >}}
110: */
111: @XmlElementDecl(namespace="http://schemas.xmlsoap.org/ws/2004/10/wsat",name="Committed")
112: public JAXBElement<Notification> createCommitted(Notification value) {
113: return new JAXBElement<Notification>(_Committed_QNAME,
114: Notification.class, null, value);
115: }
116:
117: /**
118: * Create an instance of {@link JAXBElement }{@code <}{@link Notification }{@code >}}
119: */
120: @XmlElementDecl(namespace="http://schemas.xmlsoap.org/ws/2004/10/wsat",name="Prepare")
121: public JAXBElement<Notification> createPrepare(Notification value) {
122: return new JAXBElement<Notification>(_Prepare_QNAME,
123: Notification.class, null, value);
124: }
125:
126: /**
127: * Create an instance of {@link JAXBElement }{@code <}{@link Notification }{@code >}}
128: */
129: @XmlElementDecl(namespace="http://schemas.xmlsoap.org/ws/2004/10/wsat",name="Aborted")
130: public JAXBElement<Notification> createAborted(Notification value) {
131: return new JAXBElement<Notification>(_Aborted_QNAME,
132: Notification.class, null, value);
133: }
134:
135: /**
136: * Create an instance of {@link JAXBElement }{@code <}{@link Notification }{@code >}}
137: */
138: @XmlElementDecl(namespace="http://schemas.xmlsoap.org/ws/2004/10/wsat",name="Replay")
139: public JAXBElement<Notification> createReplay(Notification value) {
140: return new JAXBElement<Notification>(_Replay_QNAME,
141: Notification.class, null, value);
142: }
143:
144: /**
145: * Create an instance of {@link JAXBElement }{@code <}{@link Notification }{@code >}}
146: */
147: @XmlElementDecl(namespace="http://schemas.xmlsoap.org/ws/2004/10/wsat",name="Prepared")
148: public JAXBElement<Notification> createPrepared(Notification value) {
149: return new JAXBElement<Notification>(_Prepared_QNAME,
150: Notification.class, null, value);
151: }
152:
153: /**
154: * Create an instance of {@link JAXBElement }{@code <}{@link Notification }{@code >}}
155: */
156: @XmlElementDecl(namespace="http://schemas.xmlsoap.org/ws/2004/10/wsat",name="Commit")
157: public JAXBElement<Notification> createCommit(Notification value) {
158: return new JAXBElement<Notification>(_Commit_QNAME,
159: Notification.class, null, value);
160: }
161:
162: }
|