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: //
024: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs
025: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
026: // Any modifications to this file will be lost upon recompilation of the source schema.
027: // Generated on: 2006.08.10 at 02:34:36 PM IST
028: //
029:
030: package com.sun.xml.ws.security.secext11;
031:
032: import javax.xml.bind.JAXBElement;
033: import javax.xml.bind.annotation.XmlElementDecl;
034: import javax.xml.bind.annotation.XmlRegistry;
035: import javax.xml.namespace.QName;
036:
037: /**
038: * This object contains factory methods for each
039: * Java content interface and Java element interface
040: * generated in the com.sun.xml.ws.security.secext11 package.
041: * <p>An ObjectFactory allows you to programatically
042: * construct new instances of the Java representation
043: * for XML content. The Java representation of XML
044: * content can consist of schema derived interfaces
045: * and classes representing the binding of schema
046: * type definitions, element declarations and model
047: * groups. Factory methods for each of these are
048: * provided in this class.
049: *
050: */
051: @XmlRegistry
052: public class ObjectFactory {
053:
054: private final static QName _Iteration_QNAME = new QName(
055: "http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd",
056: "Iteration");
057: private final static QName _EncryptedHeader_QNAME = new QName(
058: "http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd",
059: "EncryptedHeader");
060: private final static QName _SignatureConfirmation_QNAME = new QName(
061: "http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd",
062: "SignatureConfirmation");
063: private final static QName _Salt_QNAME = new QName(
064: "http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd",
065: "Salt");
066:
067: /**
068: * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.xml.ws.security.secext11
069: *
070: */
071: public ObjectFactory() {
072: }
073:
074: /**
075: * Create an instance of {@link SignatureConfirmationType }
076: *
077: */
078: public SignatureConfirmationType createSignatureConfirmationType() {
079: return new SignatureConfirmationType();
080: }
081:
082: /**
083: * Create an instance of {@link EncryptedHeaderType }
084: *
085: */
086: public EncryptedHeaderType createEncryptedHeaderType() {
087: return new EncryptedHeaderType();
088: }
089:
090: /**
091: * Create an instance of {@link JAXBElement }{@code <}{@link Long }{@code >}}
092: *
093: */
094: @XmlElementDecl(namespace="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd",name="Iteration")
095: public JAXBElement<Long> createIteration(Long value) {
096: return new JAXBElement<Long>(_Iteration_QNAME, Long.class,
097: null, value);
098: }
099:
100: /**
101: * Create an instance of {@link JAXBElement }{@code <}{@link EncryptedHeaderType }{@code >}}
102: *
103: */
104: @XmlElementDecl(namespace="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd",name="EncryptedHeader")
105: public JAXBElement<EncryptedHeaderType> createEncryptedHeader(
106: EncryptedHeaderType value) {
107: return new JAXBElement<EncryptedHeaderType>(
108: _EncryptedHeader_QNAME, EncryptedHeaderType.class,
109: null, value);
110: }
111:
112: /**
113: * Create an instance of {@link JAXBElement }{@code <}{@link SignatureConfirmationType }{@code >}}
114: *
115: */
116: @XmlElementDecl(namespace="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd",name="SignatureConfirmation")
117: public JAXBElement<SignatureConfirmationType> createSignatureConfirmation(
118: SignatureConfirmationType value) {
119: return new JAXBElement<SignatureConfirmationType>(
120: _SignatureConfirmation_QNAME,
121: SignatureConfirmationType.class, null, value);
122: }
123:
124: /**
125: * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}}
126: *
127: */
128: @XmlElementDecl(namespace="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd",name="Salt")
129: public JAXBElement<byte[]> createSalt(byte[] value) {
130: return new JAXBElement<byte[]>(_Salt_QNAME, byte[].class, null,
131: ((byte[]) value));
132: }
133:
134: }
|