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.6
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: 2014.03.27 at 03:31:23 PM GMT
24 //
25
26
27 package org.apache.wss4j.binding.wssc200502;
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.wssc200502 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 static final String WSSC_NS = "http://schemas.xmlsoap.org/ws/2005/02/sc";
53 private static final QName _Nonce_QNAME = new QName(WSSC_NS, "Nonce");
54 private static final QName _Label_QNAME = new QName(WSSC_NS, "Label");
55 private static final QName _DerivedKeyToken_QNAME = new QName(WSSC_NS, "DerivedKeyToken");
56 private static final QName _Name_QNAME = new QName(WSSC_NS, "Name");
57 private static final QName _Identifier_QNAME = new QName(WSSC_NS, "Identifier");
58 private static final QName _SecurityContextToken_QNAME = new QName(WSSC_NS, "SecurityContextToken");
59 private static final QName _Instance_QNAME = new QName(WSSC_NS, "Instance");
60
61 /**
62 * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.wss4j.binding.wssc200502
63 *
64 */
65 public ObjectFactory() {
66 }
67
68 /**
69 * Create an instance of {@link DerivedKeyTokenType }
70 *
71 */
72 public DerivedKeyTokenType createDerivedKeyTokenType() {
73 return new DerivedKeyTokenType();
74 }
75
76 /**
77 * Create an instance of {@link SecurityContextTokenType }
78 *
79 */
80 public SecurityContextTokenType createSecurityContextTokenType() {
81 return new SecurityContextTokenType();
82 }
83
84 /**
85 * Create an instance of {@link PropertiesType }
86 *
87 */
88 public PropertiesType createPropertiesType() {
89 return new PropertiesType();
90 }
91
92 /**
93 * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}}
94 *
95 */
96 @XmlElementDecl(namespace = WSSC_NS, name = "Nonce")
97 public JAXBElement<byte[]> createNonce(byte[] value) {
98 return new JAXBElement<byte[]>(_Nonce_QNAME, byte[].class, null, (byte[]) value);
99 }
100
101 /**
102 * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
103 *
104 */
105 @XmlElementDecl(namespace = WSSC_NS, name = "Label")
106 public JAXBElement<String> createLabel(String value) {
107 return new JAXBElement<String>(_Label_QNAME, String.class, null, value);
108 }
109
110 /**
111 * Create an instance of {@link JAXBElement }{@code <}{@link DerivedKeyTokenType }{@code >}}
112 *
113 */
114 @XmlElementDecl(namespace = WSSC_NS, name = "DerivedKeyToken")
115 public JAXBElement<DerivedKeyTokenType> createDerivedKeyToken(DerivedKeyTokenType value) {
116 return new JAXBElement<DerivedKeyTokenType>(_DerivedKeyToken_QNAME, DerivedKeyTokenType.class, null, value);
117 }
118
119 /**
120 * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
121 *
122 */
123 @XmlElementDecl(namespace = WSSC_NS, name = "Name")
124 public JAXBElement<String> createName(String value) {
125 return new JAXBElement<String>(_Name_QNAME, String.class, null, value);
126 }
127
128 /**
129 * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
130 *
131 */
132 @XmlElementDecl(namespace = WSSC_NS, name = "Identifier")
133 public JAXBElement<String> createIdentifier(String value) {
134 return new JAXBElement<String>(_Identifier_QNAME, String.class, null, value);
135 }
136
137 /**
138 * Create an instance of {@link JAXBElement }{@code <}{@link SecurityContextTokenType }{@code >}}
139 *
140 */
141 @XmlElementDecl(namespace = WSSC_NS, name = "SecurityContextToken")
142 public JAXBElement<SecurityContextTokenType> createSecurityContextToken(SecurityContextTokenType value) {
143 return new JAXBElement<SecurityContextTokenType>(_SecurityContextToken_QNAME, SecurityContextTokenType.class, null, value);
144 }
145
146 /**
147 * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
148 *
149 */
150 @XmlElementDecl(namespace = WSSC_NS, name = "Instance")
151 public JAXBElement<String> createInstance(String value) {
152 return new JAXBElement<String>(_Instance_QNAME, String.class, null, value);
153 }
154
155 }