KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > w3 > _2001 > _04 > xmlenc_ > ObjectFactory


1
2 package org.w3._2001._04.xmlenc_;
3
4 import java.math.BigInteger JavaDoc;
5 import javax.xml.bind.JAXBElement;
6 import javax.xml.bind.annotation.XmlElementDecl;
7 import javax.xml.bind.annotation.XmlRegistry;
8 import javax.xml.namespace.QName JavaDoc;
9 import org.w3._2000._09.xmldsig_.KeyInfoType;
10
11
12 /**
13  * This object contains factory methods for each
14  * Java content interface and Java element interface
15  * generated in the org.w3._2001._04.xmlenc_ package.
16  * <p>An ObjectFactory allows you to programatically
17  * construct new instances of the Java representation
18  * for XML content. The Java representation of XML
19  * content can consist of schema derived interfaces
20  * and classes representing the binding of schema
21  * type definitions, element declarations and model
22  * groups. Factory methods for each of these are
23  * provided in this class.
24  *
25  */

26 @XmlRegistry
27 public class ObjectFactory {
28
29     private final static QName JavaDoc _EncryptionMethodTypeOAEPparams_QNAME = new QName JavaDoc("http://www.w3.org/2001/04/xmlenc#", "OAEPparams");
30     private final static QName JavaDoc _EncryptionMethodTypeKeySize_QNAME = new QName JavaDoc("http://www.w3.org/2001/04/xmlenc#", "KeySize");
31     private final static QName JavaDoc _AgreementMethod_QNAME = new QName JavaDoc("http://www.w3.org/2001/04/xmlenc#", "AgreementMethod");
32     private final static QName JavaDoc _CipherReference_QNAME = new QName JavaDoc("http://www.w3.org/2001/04/xmlenc#", "CipherReference");
33     private final static QName JavaDoc _EncryptionProperties_QNAME = new QName JavaDoc("http://www.w3.org/2001/04/xmlenc#", "EncryptionProperties");
34     private final static QName JavaDoc _EncryptionProperty_QNAME = new QName JavaDoc("http://www.w3.org/2001/04/xmlenc#", "EncryptionProperty");
35     private final static QName JavaDoc _EncryptedKey_QNAME = new QName JavaDoc("http://www.w3.org/2001/04/xmlenc#", "EncryptedKey");
36     private final static QName JavaDoc _CipherData_QNAME = new QName JavaDoc("http://www.w3.org/2001/04/xmlenc#", "CipherData");
37     private final static QName JavaDoc _EncryptedData_QNAME = new QName JavaDoc("http://www.w3.org/2001/04/xmlenc#", "EncryptedData");
38     private final static QName JavaDoc _ReferenceListDataReference_QNAME = new QName JavaDoc("http://www.w3.org/2001/04/xmlenc#", "DataReference");
39     private final static QName JavaDoc _ReferenceListKeyReference_QNAME = new QName JavaDoc("http://www.w3.org/2001/04/xmlenc#", "KeyReference");
40     private final static QName JavaDoc _AgreementMethodTypeKANonce_QNAME = new QName JavaDoc("http://www.w3.org/2001/04/xmlenc#", "KA-Nonce");
41     private final static QName JavaDoc _AgreementMethodTypeOriginatorKeyInfo_QNAME = new QName JavaDoc("http://www.w3.org/2001/04/xmlenc#", "OriginatorKeyInfo");
42     private final static QName JavaDoc _AgreementMethodTypeRecipientKeyInfo_QNAME = new QName JavaDoc("http://www.w3.org/2001/04/xmlenc#", "RecipientKeyInfo");
43
44     /**
45      * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.w3._2001._04.xmlenc_
46      *
47      */

48     public ObjectFactory() {
49     }
50
51     /**
52      * Create an instance of {@link EncryptionMethodType }
53      *
54      */

55     public EncryptionMethodType createEncryptionMethodType() {
56         return new EncryptionMethodType();
57     }
58
59     /**
60      * Create an instance of {@link EncryptionPropertiesType }
61      *
62      */

63     public EncryptionPropertiesType createEncryptionPropertiesType() {
64         return new EncryptionPropertiesType();
65     }
66
67     /**
68      * Create an instance of {@link EncryptedKeyType }
69      *
70      */

71     public EncryptedKeyType createEncryptedKeyType() {
72         return new EncryptedKeyType();
73     }
74
75     /**
76      * Create an instance of {@link CipherDataType }
77      *
78      */

79     public CipherDataType createCipherDataType() {
80         return new CipherDataType();
81     }
82
83     /**
84      * Create an instance of {@link ReferenceType }
85      *
86      */

87     public ReferenceType createReferenceType() {
88         return new ReferenceType();
89     }
90
91     /**
92      * Create an instance of {@link ReferenceList }
93      *
94      */

95     public ReferenceList createReferenceList() {
96         return new ReferenceList();
97     }
98
99     /**
100      * Create an instance of {@link EncryptionPropertyType }
101      *
102      */

103     public EncryptionPropertyType createEncryptionPropertyType() {
104         return new EncryptionPropertyType();
105     }
106
107     /**
108      * Create an instance of {@link TransformsType }
109      *
110      */

111     public TransformsType createTransformsType() {
112         return new TransformsType();
113     }
114
115     /**
116      * Create an instance of {@link CipherReferenceType }
117      *
118      */

119     public CipherReferenceType createCipherReferenceType() {
120         return new CipherReferenceType();
121     }
122
123     /**
124      * Create an instance of {@link EncryptedDataType }
125      *
126      */

127     public EncryptedDataType createEncryptedDataType() {
128         return new EncryptedDataType();
129     }
130
131     /**
132      * Create an instance of {@link AgreementMethodType }
133      *
134      */

135     public AgreementMethodType createAgreementMethodType() {
136         return new AgreementMethodType();
137     }
138
139     /**
140      * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}}
141      *
142      */

143     @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "OAEPparams", scope = EncryptionMethodType.class)
144     public JAXBElement<byte[]> createEncryptionMethodTypeOAEPparams(byte[] value) {
145         return new JAXBElement<byte[]>(_EncryptionMethodTypeOAEPparams_QNAME, byte[].class, EncryptionMethodType.class, ((byte[]) value));
146     }
147
148     /**
149      * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}}
150      *
151      */

152     @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "KeySize", scope = EncryptionMethodType.class)
153     public JAXBElement<BigInteger JavaDoc> createEncryptionMethodTypeKeySize(BigInteger JavaDoc value) {
154         return new JAXBElement<BigInteger JavaDoc>(_EncryptionMethodTypeKeySize_QNAME, BigInteger JavaDoc.class, EncryptionMethodType.class, value);
155     }
156
157     /**
158      * Create an instance of {@link JAXBElement }{@code <}{@link AgreementMethodType }{@code >}}
159      *
160      */

161     @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "AgreementMethod")
162     public JAXBElement<AgreementMethodType> createAgreementMethod(AgreementMethodType value) {
163         return new JAXBElement<AgreementMethodType>(_AgreementMethod_QNAME, AgreementMethodType.class, null, value);
164     }
165
166     /**
167      * Create an instance of {@link JAXBElement }{@code <}{@link CipherReferenceType }{@code >}}
168      *
169      */

170     @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "CipherReference")
171     public JAXBElement<CipherReferenceType> createCipherReference(CipherReferenceType value) {
172         return new JAXBElement<CipherReferenceType>(_CipherReference_QNAME, CipherReferenceType.class, null, value);
173     }
174
175     /**
176      * Create an instance of {@link JAXBElement }{@code <}{@link EncryptionPropertiesType }{@code >}}
177      *
178      */

179     @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "EncryptionProperties")
180     public JAXBElement<EncryptionPropertiesType> createEncryptionProperties(EncryptionPropertiesType value) {
181         return new JAXBElement<EncryptionPropertiesType>(_EncryptionProperties_QNAME, EncryptionPropertiesType.class, null, value);
182     }
183
184     /**
185      * Create an instance of {@link JAXBElement }{@code <}{@link EncryptionPropertyType }{@code >}}
186      *
187      */

188     @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "EncryptionProperty")
189     public JAXBElement<EncryptionPropertyType> createEncryptionProperty(EncryptionPropertyType value) {
190         return new JAXBElement<EncryptionPropertyType>(_EncryptionProperty_QNAME, EncryptionPropertyType.class, null, value);
191     }
192
193     /**
194      * Create an instance of {@link JAXBElement }{@code <}{@link EncryptedKeyType }{@code >}}
195      *
196      */

197     @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "EncryptedKey")
198     public JAXBElement<EncryptedKeyType> createEncryptedKey(EncryptedKeyType value) {
199         return new JAXBElement<EncryptedKeyType>(_EncryptedKey_QNAME, EncryptedKeyType.class, null, value);
200     }
201
202     /**
203      * Create an instance of {@link JAXBElement }{@code <}{@link CipherDataType }{@code >}}
204      *
205      */

206     @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "CipherData")
207     public JAXBElement<CipherDataType> createCipherData(CipherDataType value) {
208         return new JAXBElement<CipherDataType>(_CipherData_QNAME, CipherDataType.class, null, value);
209     }
210
211     /**
212      * Create an instance of {@link JAXBElement }{@code <}{@link EncryptedDataType }{@code >}}
213      *
214      */

215     @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "EncryptedData")
216     public JAXBElement<EncryptedDataType> createEncryptedData(EncryptedDataType value) {
217         return new JAXBElement<EncryptedDataType>(_EncryptedData_QNAME, EncryptedDataType.class, null, value);
218     }
219
220     /**
221      * Create an instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >}}
222      *
223      */

224     @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "DataReference", scope = ReferenceList.class)
225     public JAXBElement<ReferenceType> createReferenceListDataReference(ReferenceType value) {
226         return new JAXBElement<ReferenceType>(_ReferenceListDataReference_QNAME, ReferenceType.class, ReferenceList.class, value);
227     }
228
229     /**
230      * Create an instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >}}
231      *
232      */

233     @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "KeyReference", scope = ReferenceList.class)
234     public JAXBElement<ReferenceType> createReferenceListKeyReference(ReferenceType value) {
235         return new JAXBElement<ReferenceType>(_ReferenceListKeyReference_QNAME, ReferenceType.class, ReferenceList.class, value);
236     }
237
238     /**
239      * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}}
240      *
241      */

242     @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "KA-Nonce", scope = AgreementMethodType.class)
243     public JAXBElement<byte[]> createAgreementMethodTypeKANonce(byte[] value) {
244         return new JAXBElement<byte[]>(_AgreementMethodTypeKANonce_QNAME, byte[].class, AgreementMethodType.class, ((byte[]) value));
245     }
246
247     /**
248      * Create an instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >}}
249      *
250      */

251     @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "OriginatorKeyInfo", scope = AgreementMethodType.class)
252     public JAXBElement<KeyInfoType> createAgreementMethodTypeOriginatorKeyInfo(KeyInfoType value) {
253         return new JAXBElement<KeyInfoType>(_AgreementMethodTypeOriginatorKeyInfo_QNAME, KeyInfoType.class, AgreementMethodType.class, value);
254     }
255
256     /**
257      * Create an instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >}}
258      *
259      */

260     @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "RecipientKeyInfo", scope = AgreementMethodType.class)
261     public JAXBElement<KeyInfoType> createAgreementMethodTypeRecipientKeyInfo(KeyInfoType value) {
262         return new JAXBElement<KeyInfoType>(_AgreementMethodTypeRecipientKeyInfo_QNAME, KeyInfoType.class, AgreementMethodType.class, value);
263     }
264
265 }
266
Popular Tags