001 //
002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
003 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004 // Any modifications to this file will be lost upon recompilation of the source schema.
005 // Generated on: 2011.11.17 at 08:31:01 PM CST
006 //
007
008
009 package org.xmlsoap.schemas.soap.envelope;
010
011 import java.util.ArrayList;
012 import java.util.HashMap;
013 import java.util.List;
014 import java.util.Map;
015 import javax.xml.bind.annotation.XmlAccessType;
016 import javax.xml.bind.annotation.XmlAccessorType;
017 import javax.xml.bind.annotation.XmlAnyAttribute;
018 import javax.xml.bind.annotation.XmlAnyElement;
019 import javax.xml.bind.annotation.XmlElement;
020 import javax.xml.bind.annotation.XmlType;
021 import javax.xml.namespace.QName;
022 import org.w3c.dom.Element;
023
024
025 /**
026 * <p>Java class for Envelope complex type.
027 *
028 * <p>The following schema fragment specifies the expected content contained within this class.
029 *
030 * <pre>
031 * <complexType name="Envelope">
032 * <complexContent>
033 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
034 * <sequence>
035 * <element ref="{http://schemas.xmlsoap.org/soap/envelope/}Header" minOccurs="0"/>
036 * <element ref="{http://schemas.xmlsoap.org/soap/envelope/}Body"/>
037 * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
038 * </sequence>
039 * <anyAttribute processContents='lax' namespace='##other'/>
040 * </restriction>
041 * </complexContent>
042 * </complexType>
043 * </pre>
044 *
045 *
046 */
047 @XmlAccessorType(XmlAccessType.FIELD)
048 @XmlType(name = "Envelope", propOrder = {
049 "header",
050 "body",
051 "any"
052 })
053 public class Envelope {
054
055 @XmlElement(name = "Header", namespace = "http://schemas.xmlsoap.org/soap/envelope/")
056 protected Header header;
057 @XmlElement(name = "Body", namespace = "http://schemas.xmlsoap.org/soap/envelope/", required = true)
058 protected Body body;
059 @XmlAnyElement(lax = true)
060 protected List<Object> any;
061 @XmlAnyAttribute
062 private Map<QName, String> otherAttributes = new HashMap<QName, String>();
063
064 /**
065 * Gets the value of the header property.
066 *
067 * @return
068 * possible object is
069 * {@link Header }
070 *
071 */
072 public Header getHeader() {
073 return header;
074 }
075
076 /**
077 * Sets the value of the header property.
078 *
079 * @param value
080 * allowed object is
081 * {@link Header }
082 *
083 */
084 public void setHeader(Header value) {
085 this.header = value;
086 }
087
088 /**
089 * Gets the value of the body property.
090 *
091 * @return
092 * possible object is
093 * {@link Body }
094 *
095 */
096 public Body getBody() {
097 return body;
098 }
099
100 /**
101 * Sets the value of the body property.
102 *
103 * @param value
104 * allowed object is
105 * {@link Body }
106 *
107 */
108 public void setBody(Body value) {
109 this.body = value;
110 }
111
112 /**
113 * Gets the value of the any property.
114 *
115 * <p>
116 * This accessor method returns a reference to the live list,
117 * not a snapshot. Therefore any modification you make to the
118 * returned list will be present inside the JAXB object.
119 * This is why there is not a <CODE>set</CODE> method for the any property.
120 *
121 * <p>
122 * For example, to add a new item, do as follows:
123 * <pre>
124 * getAny().add(newItem);
125 * </pre>
126 *
127 *
128 * <p>
129 * Objects of the following type(s) are allowed in the list
130 * {@link Object }
131 * {@link Element }
132 *
133 *
134 */
135 public List<Object> getAny() {
136 if (any == null) {
137 any = new ArrayList<Object>();
138 }
139 return this.any;
140 }
141
142 /**
143 * Gets a map that contains attributes that aren't bound to any typed property on this class.
144 *
145 * <p>
146 * the map is keyed by the name of the attribute and
147 * the value is the string value of the attribute.
148 *
149 * the map returned by this method is live, and you can add new attribute
150 * by updating the map directly. Because of this design, there's no setter.
151 *
152 *
153 * @return
154 * always non-null
155 */
156 public Map<QName, String> getOtherAttributes() {
157 return otherAttributes;
158 }
159
160 }