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:22 PM GMT 24 // 25 26 27 package org.apache.wss4j.binding.wss11; 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.wss11 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 WSSE11_NS = "http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd"; 53 private static final QName _EncryptedHeader_QNAME = new QName(WSSE11_NS, "EncryptedHeader"); 54 private static final QName _SignatureConfirmation_QNAME = new QName(WSSE11_NS, "SignatureConfirmation"); 55 private static final QName _Salt_QNAME = new QName(WSSE11_NS, "Salt"); 56 private static final QName _Iteration_QNAME = new QName(WSSE11_NS, "Iteration"); 57 58 /** 59 * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.wss4j.binding.wss11 60 * 61 */ 62 public ObjectFactory() { 63 } 64 65 /** 66 * Create an instance of {@link SignatureConfirmationType } 67 * 68 */ 69 public SignatureConfirmationType createSignatureConfirmationType() { 70 return new SignatureConfirmationType(); 71 } 72 73 /** 74 * Create an instance of {@link EncryptedHeaderType } 75 * 76 */ 77 public EncryptedHeaderType createEncryptedHeaderType() { 78 return new EncryptedHeaderType(); 79 } 80 81 /** 82 * Create an instance of {@link JAXBElement }{@code <}{@link EncryptedHeaderType }{@code >}} 83 * 84 */ 85 @XmlElementDecl(namespace = WSSE11_NS, name = "EncryptedHeader") 86 public JAXBElement<EncryptedHeaderType> createEncryptedHeader(EncryptedHeaderType value) { 87 return new JAXBElement<EncryptedHeaderType>(_EncryptedHeader_QNAME, EncryptedHeaderType.class, null, value); 88 } 89 90 /** 91 * Create an instance of {@link JAXBElement }{@code <}{@link SignatureConfirmationType }{@code >}} 92 * 93 */ 94 @XmlElementDecl(namespace = WSSE11_NS, name = "SignatureConfirmation") 95 public JAXBElement<SignatureConfirmationType> createSignatureConfirmation(SignatureConfirmationType value) { 96 return new JAXBElement<SignatureConfirmationType>(_SignatureConfirmation_QNAME, SignatureConfirmationType.class, null, value); 97 } 98 99 /** 100 * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}} 101 * 102 */ 103 @XmlElementDecl(namespace = WSSE11_NS, name = "Salt") 104 public JAXBElement<byte[]> createSalt(byte[] value) { 105 return new JAXBElement<byte[]>(_Salt_QNAME, byte[].class, null, (byte[]) value); 106 } 107 108 /** 109 * Create an instance of {@link JAXBElement }{@code <}{@link Long }{@code >}} 110 * 111 */ 112 @XmlElementDecl(namespace = WSSE11_NS, name = "Iteration") 113 public JAXBElement<Long> createIteration(Long value) { 114 return new JAXBElement<Long>(_Iteration_QNAME, Long.class, null, value); 115 } 116 117 }