View Javadoc
1   /**
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements. See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership. The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License. You may obtain a copy of the License at
9    *
10   * http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing,
13   * software distributed under the License is distributed on an
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   * KIND, either express or implied. See the License for the
16   * specific language governing permissions and limitations
17   * under the License.
18   */
19  //
20  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
21  // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
22  // Any modifications to this file will be lost upon recompilation of the source schema.
23  // Generated on: 2018.05.01 at 12:07:44 PM IST
24  //
25  
26  
27  package org.apache.wss4j.binding.wss10;
28  
29  import jakarta.xml.bind.JAXBElement;
30  import jakarta.xml.bind.annotation.XmlElementDecl;
31  import jakarta.xml.bind.annotation.XmlRegistry;
32  import javax.xml.namespace.QName;
33  
34  
35  /**
36   * This object contains factory methods for each
37   * Java content interface and Java element interface
38   * generated in the org.apache.wss4j.binding.wss10 package.
39   * <p>An ObjectFactory allows you to programatically
40   * construct new instances of the Java representation
41   * for XML content. The Java representation of XML
42   * content can consist of schema derived interfaces
43   * and classes representing the binding of schema
44   * type definitions, element declarations and model
45   * groups.  Factory methods for each of these are
46   * provided in this class.
47   *
48   */
49  @XmlRegistry
50  public class ObjectFactory {
51  
52      private final static QName _UsernameToken_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "UsernameToken");
53      private final static QName _BinarySecurityToken_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "BinarySecurityToken");
54      private final static QName _Reference_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "Reference");
55      private final static QName _Embedded_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "Embedded");
56      private final static QName _KeyIdentifier_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "KeyIdentifier");
57      private final static QName _SecurityTokenReference_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "SecurityTokenReference");
58      private final static QName _Security_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "Security");
59      private final static QName _TransformationParameters_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "TransformationParameters");
60      private final static QName _Password_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "Password");
61      private final static QName _Nonce_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "Nonce");
62  
63      /**
64       * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.wss4j.binding.wss10
65       *
66       */
67      public ObjectFactory() {
68      }
69  
70      /**
71       * Create an instance of {@link UsernameTokenType }
72       *
73       */
74      public UsernameTokenType createUsernameTokenType() {
75          return new UsernameTokenType();
76      }
77  
78      /**
79       * Create an instance of {@link BinarySecurityTokenType }
80       *
81       */
82      public BinarySecurityTokenType createBinarySecurityTokenType() {
83          return new BinarySecurityTokenType();
84      }
85  
86      /**
87       * Create an instance of {@link ReferenceType }
88       *
89       */
90      public ReferenceType createReferenceType() {
91          return new ReferenceType();
92      }
93  
94      /**
95       * Create an instance of {@link EmbeddedType }
96       *
97       */
98      public EmbeddedType createEmbeddedType() {
99          return new EmbeddedType();
100     }
101 
102     /**
103      * Create an instance of {@link KeyIdentifierType }
104      *
105      */
106     public KeyIdentifierType createKeyIdentifierType() {
107         return new KeyIdentifierType();
108     }
109 
110     /**
111      * Create an instance of {@link SecurityTokenReferenceType }
112      *
113      */
114     public SecurityTokenReferenceType createSecurityTokenReferenceType() {
115         return new SecurityTokenReferenceType();
116     }
117 
118     /**
119      * Create an instance of {@link SecurityHeaderType }
120      *
121      */
122     public SecurityHeaderType createSecurityHeaderType() {
123         return new SecurityHeaderType();
124     }
125 
126     /**
127      * Create an instance of {@link TransformationParametersType }
128      *
129      */
130     public TransformationParametersType createTransformationParametersType() {
131         return new TransformationParametersType();
132     }
133 
134     /**
135      * Create an instance of {@link PasswordString }
136      *
137      */
138     public PasswordString createPasswordString() {
139         return new PasswordString();
140     }
141 
142     /**
143      * Create an instance of {@link EncodedString }
144      *
145      */
146     public EncodedString createEncodedString() {
147         return new EncodedString();
148     }
149 
150     /**
151      * Create an instance of {@link AttributedString }
152      *
153      */
154     public AttributedString createAttributedString() {
155         return new AttributedString();
156     }
157 
158     /**
159      * Create an instance of {@link JAXBElement }{@code <}{@link UsernameTokenType }{@code >}}
160      *
161      */
162     @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "UsernameToken")
163     public JAXBElement<UsernameTokenType> createUsernameToken(UsernameTokenType value) {
164         return new JAXBElement<UsernameTokenType>(_UsernameToken_QNAME, UsernameTokenType.class, null, value);
165     }
166 
167     /**
168      * Create an instance of {@link JAXBElement }{@code <}{@link BinarySecurityTokenType }{@code >}}
169      *
170      */
171     @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "BinarySecurityToken")
172     public JAXBElement<BinarySecurityTokenType> createBinarySecurityToken(BinarySecurityTokenType value) {
173         return new JAXBElement<BinarySecurityTokenType>(_BinarySecurityToken_QNAME, BinarySecurityTokenType.class, null, value);
174     }
175 
176     /**
177      * Create an instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >}}
178      *
179      */
180     @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "Reference")
181     public JAXBElement<ReferenceType> createReference(ReferenceType value) {
182         return new JAXBElement<ReferenceType>(_Reference_QNAME, ReferenceType.class, null, value);
183     }
184 
185     /**
186      * Create an instance of {@link JAXBElement }{@code <}{@link EmbeddedType }{@code >}}
187      *
188      */
189     @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "Embedded")
190     public JAXBElement<EmbeddedType> createEmbedded(EmbeddedType value) {
191         return new JAXBElement<EmbeddedType>(_Embedded_QNAME, EmbeddedType.class, null, value);
192     }
193 
194     /**
195      * Create an instance of {@link JAXBElement }{@code <}{@link KeyIdentifierType }{@code >}}
196      *
197      */
198     @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "KeyIdentifier")
199     public JAXBElement<KeyIdentifierType> createKeyIdentifier(KeyIdentifierType value) {
200         return new JAXBElement<KeyIdentifierType>(_KeyIdentifier_QNAME, KeyIdentifierType.class, null, value);
201     }
202 
203     /**
204      * Create an instance of {@link JAXBElement }{@code <}{@link SecurityTokenReferenceType }{@code >}}
205      *
206      */
207     @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "SecurityTokenReference")
208     public JAXBElement<SecurityTokenReferenceType> createSecurityTokenReference(SecurityTokenReferenceType value) {
209         return new JAXBElement<SecurityTokenReferenceType>(_SecurityTokenReference_QNAME, SecurityTokenReferenceType.class, null, value);
210     }
211 
212     /**
213      * Create an instance of {@link JAXBElement }{@code <}{@link SecurityHeaderType }{@code >}}
214      *
215      */
216     @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "Security")
217     public JAXBElement<SecurityHeaderType> createSecurity(SecurityHeaderType value) {
218         return new JAXBElement<SecurityHeaderType>(_Security_QNAME, SecurityHeaderType.class, null, value);
219     }
220 
221     /**
222      * Create an instance of {@link JAXBElement }{@code <}{@link TransformationParametersType }{@code >}}
223      *
224      */
225     @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "TransformationParameters")
226     public JAXBElement<TransformationParametersType> createTransformationParameters(TransformationParametersType value) {
227         return new JAXBElement<TransformationParametersType>(_TransformationParameters_QNAME, TransformationParametersType.class, null, value);
228     }
229 
230     /**
231      * Create an instance of {@link JAXBElement }{@code <}{@link PasswordString }{@code >}}
232      *
233      */
234     @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "Password")
235     public JAXBElement<PasswordString> createPassword(PasswordString value) {
236         return new JAXBElement<PasswordString>(_Password_QNAME, PasswordString.class, null, value);
237     }
238 
239     /**
240      * Create an instance of {@link JAXBElement }{@code <}{@link EncodedString }{@code >}}
241      *
242      */
243     @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "Nonce")
244     public JAXBElement<EncodedString> createNonce(EncodedString value) {
245         return new JAXBElement<EncodedString>(_Nonce_QNAME, EncodedString.class, null, value);
246     }
247 
248 }