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: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs
024: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
025: // Any modifications to this file will be lost upon recompilation of the source schema.
026: // Generated on: 2006.08.10 at 02:34:36 PM IST
027: //
028:
029: package com.sun.xml.ws.security.soap12;
030:
031: import java.util.HashMap;
032: import java.util.Map;
033: import javax.xml.bind.annotation.XmlAccessType;
034: import javax.xml.bind.annotation.XmlAccessorType;
035: import javax.xml.bind.annotation.XmlAnyAttribute;
036: import javax.xml.bind.annotation.XmlElement;
037: import javax.xml.bind.annotation.XmlType;
038: import javax.xml.namespace.QName;
039:
040: /**
041: * <p>Java class for Envelope complex type.
042: *
043: * <p>The following schema fragment specifies the expected content contained within this class.
044: *
045: * <pre>
046: * <complexType name="Envelope">
047: * <complexContent>
048: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
049: * <sequence>
050: * <element ref="{http://www.w3.org/2003/05/soap-envelope}Header" minOccurs="0"/>
051: * <element ref="{http://www.w3.org/2003/05/soap-envelope}Body"/>
052: * </sequence>
053: * </restriction>
054: * </complexContent>
055: * </complexType>
056: * </pre>
057: *
058: *
059: */
060: @XmlAccessorType(XmlAccessType.FIELD)
061: @XmlType(name="Envelope",propOrder={"header","body"})
062: public class Envelope {
063:
064: @XmlElement(name="Header")
065: protected Header header;
066: @XmlElement(name="Body",required=true)
067: protected Body body;
068: @XmlAnyAttribute
069: private Map<QName, String> otherAttributes = new HashMap<QName, String>();
070:
071: /**
072: * Gets the value of the header property.
073: *
074: * @return
075: * possible object is
076: * {@link Header }
077: *
078: */
079: public Header getHeader() {
080: return header;
081: }
082:
083: /**
084: * Sets the value of the header property.
085: *
086: * @param value
087: * allowed object is
088: * {@link Header }
089: *
090: */
091: public void setHeader(Header value) {
092: this .header = value;
093: }
094:
095: /**
096: * Gets the value of the body property.
097: *
098: * @return
099: * possible object is
100: * {@link Body }
101: *
102: */
103: public Body getBody() {
104: return body;
105: }
106:
107: /**
108: * Sets the value of the body property.
109: *
110: * @param value
111: * allowed object is
112: * {@link Body }
113: *
114: */
115: public void setBody(Body value) {
116: this .body = value;
117: }
118:
119: /**
120: * Gets a map that contains attributes that aren't bound to any typed property on this class.
121: *
122: * <p>
123: * the map is keyed by the name of the attribute and
124: * the value is the string value of the attribute.
125: *
126: * the map returned by this method is live, and you can add new attribute
127: * by updating the map directly. Because of this design, there's no setter.
128: *
129: *
130: * @return
131: * always non-null
132: */
133: public Map<QName, String> getOtherAttributes() {
134: return otherAttributes;
135: }
136:
137: }
|