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.secext10;
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.secext10 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 _BinarySecurityToken_QNAME = new QName(
054: "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd",
055: "BinarySecurityToken");
056: private final static QName _KeyIdentifier_QNAME = new QName(
057: "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd",
058: "KeyIdentifier");
059: private final static QName _UsernameToken_QNAME = new QName(
060: "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd",
061: "UsernameToken");
062: private final static QName _Security_QNAME = new QName(
063: "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd",
064: "Security");
065: private final static QName _TransformationParameters_QNAME = new QName(
066: "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd",
067: "TransformationParameters");
068: private final static QName _Reference_QNAME = new QName(
069: "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd",
070: "Reference");
071: private final static QName _Nonce_QNAME = new QName(
072: "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd",
073: "Nonce");
074: private final static QName _Password_QNAME = new QName(
075: "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd",
076: "Password");
077: private final static QName _Embedded_QNAME = new QName(
078: "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd",
079: "Embedded");
080: private final static QName _SecurityTokenReference_QNAME = new QName(
081: "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd",
082: "SecurityTokenReference");
083:
084: /**
085: * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.xml.ws.security.secext10
086: *
087: */
088: public ObjectFactory() {
089: }
090:
091: /**
092: * Create an instance of {@link AttributedString }
093: *
094: */
095: public AttributedString createAttributedString() {
096: return new AttributedString();
097: }
098:
099: /**
100: * Create an instance of {@link PasswordString }
101: *
102: */
103: public PasswordString createPasswordString() {
104: return new PasswordString();
105: }
106:
107: /**
108: * Create an instance of {@link UsernameTokenType }
109: *
110: */
111: public UsernameTokenType createUsernameTokenType() {
112: return new UsernameTokenType();
113: }
114:
115: /**
116: * Create an instance of {@link EncodedString }
117: *
118: */
119: public EncodedString createEncodedString() {
120: return new EncodedString();
121: }
122:
123: /**
124: * Create an instance of {@link EmbeddedType }
125: *
126: */
127: public EmbeddedType createEmbeddedType() {
128: return new EmbeddedType();
129: }
130:
131: /**
132: * Create an instance of {@link SecurityTokenReferenceType }
133: *
134: */
135: public SecurityTokenReferenceType createSecurityTokenReferenceType() {
136: return new SecurityTokenReferenceType();
137: }
138:
139: /**
140: * Create an instance of {@link TransformationParametersType }
141: *
142: */
143: public TransformationParametersType createTransformationParametersType() {
144: return new TransformationParametersType();
145: }
146:
147: /**
148: * Create an instance of {@link BinarySecurityTokenType }
149: *
150: */
151: public BinarySecurityTokenType createBinarySecurityTokenType() {
152: return new BinarySecurityTokenType();
153: }
154:
155: /**
156: * Create an instance of {@link KeyIdentifierType }
157: *
158: */
159: public KeyIdentifierType createKeyIdentifierType() {
160: return new KeyIdentifierType();
161: }
162:
163: /**
164: * Create an instance of {@link SecurityHeaderType }
165: *
166: */
167: public SecurityHeaderType createSecurityHeaderType() {
168: return new SecurityHeaderType();
169: }
170:
171: /**
172: * Create an instance of {@link ReferenceType }
173: *
174: */
175: public ReferenceType createReferenceType() {
176: return new ReferenceType();
177: }
178:
179: /**
180: * Create an instance of {@link JAXBElement }{@code <}{@link BinarySecurityTokenType }{@code >}}
181: *
182: */
183: @XmlElementDecl(namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd",name="BinarySecurityToken")
184: public JAXBElement<BinarySecurityTokenType> createBinarySecurityToken(
185: BinarySecurityTokenType value) {
186: return new JAXBElement<BinarySecurityTokenType>(
187: _BinarySecurityToken_QNAME,
188: BinarySecurityTokenType.class, null, value);
189: }
190:
191: /**
192: * Create an instance of {@link JAXBElement }{@code <}{@link KeyIdentifierType }{@code >}}
193: *
194: */
195: @XmlElementDecl(namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd",name="KeyIdentifier")
196: public JAXBElement<KeyIdentifierType> createKeyIdentifier(
197: KeyIdentifierType value) {
198: return new JAXBElement<KeyIdentifierType>(_KeyIdentifier_QNAME,
199: KeyIdentifierType.class, null, value);
200: }
201:
202: /**
203: * Create an instance of {@link JAXBElement }{@code <}{@link UsernameTokenType }{@code >}}
204: *
205: */
206: @XmlElementDecl(namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd",name="UsernameToken")
207: public JAXBElement<UsernameTokenType> createUsernameToken(
208: UsernameTokenType value) {
209: return new JAXBElement<UsernameTokenType>(_UsernameToken_QNAME,
210: UsernameTokenType.class, null, value);
211: }
212:
213: /**
214: * Create an instance of {@link JAXBElement }{@code <}{@link SecurityHeaderType }{@code >}}
215: *
216: */
217: @XmlElementDecl(namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd",name="Security")
218: public JAXBElement<SecurityHeaderType> createSecurity(
219: SecurityHeaderType value) {
220: return new JAXBElement<SecurityHeaderType>(_Security_QNAME,
221: SecurityHeaderType.class, null, value);
222: }
223:
224: /**
225: * Create an instance of {@link JAXBElement }{@code <}{@link TransformationParametersType }{@code >}}
226: *
227: */
228: @XmlElementDecl(namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd",name="TransformationParameters")
229: public JAXBElement<TransformationParametersType> createTransformationParameters(
230: TransformationParametersType value) {
231: return new JAXBElement<TransformationParametersType>(
232: _TransformationParameters_QNAME,
233: TransformationParametersType.class, null, value);
234: }
235:
236: /**
237: * Create an instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >}}
238: *
239: */
240: @XmlElementDecl(namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd",name="Reference")
241: public JAXBElement<ReferenceType> createReference(
242: ReferenceType value) {
243: return new JAXBElement<ReferenceType>(_Reference_QNAME,
244: ReferenceType.class, null, value);
245: }
246:
247: /**
248: * Create an instance of {@link JAXBElement }{@code <}{@link EncodedString }{@code >}}
249: *
250: */
251: @XmlElementDecl(namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd",name="Nonce")
252: public JAXBElement<EncodedString> createNonce(EncodedString value) {
253: return new JAXBElement<EncodedString>(_Nonce_QNAME,
254: EncodedString.class, null, value);
255: }
256:
257: /**
258: * Create an instance of {@link JAXBElement }{@code <}{@link PasswordString }{@code >}}
259: *
260: */
261: @XmlElementDecl(namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd",name="Password")
262: public JAXBElement<PasswordString> createPassword(
263: PasswordString value) {
264: return new JAXBElement<PasswordString>(_Password_QNAME,
265: PasswordString.class, null, value);
266: }
267:
268: /**
269: * Create an instance of {@link JAXBElement }{@code <}{@link EmbeddedType }{@code >}}
270: *
271: */
272: @XmlElementDecl(namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd",name="Embedded")
273: public JAXBElement<EmbeddedType> createEmbedded(EmbeddedType value) {
274: return new JAXBElement<EmbeddedType>(_Embedded_QNAME,
275: EmbeddedType.class, null, value);
276: }
277:
278: /**
279: * Create an instance of {@link JAXBElement }{@code <}{@link SecurityTokenReferenceType }{@code >}}
280: *
281: */
282: @XmlElementDecl(namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd",name="SecurityTokenReference")
283: public JAXBElement<SecurityTokenReferenceType> createSecurityTokenReference(
284: SecurityTokenReferenceType value) {
285: return new JAXBElement<SecurityTokenReferenceType>(
286: _SecurityTokenReference_QNAME,
287: SecurityTokenReferenceType.class, null, value);
288: }
289:
290: }
|