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.XmlType;
020 import javax.xml.namespace.QName;
021 import org.w3c.dom.Element;
022
023
024 /**
025 * <p>Java class for Header complex type.
026 *
027 * <p>The following schema fragment specifies the expected content contained within this class.
028 *
029 * <pre>
030 * <complexType name="Header">
031 * <complexContent>
032 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
033 * <sequence>
034 * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
035 * </sequence>
036 * <anyAttribute processContents='lax' namespace='##other'/>
037 * </restriction>
038 * </complexContent>
039 * </complexType>
040 * </pre>
041 *
042 *
043 */
044 @XmlAccessorType(XmlAccessType.FIELD)
045 @XmlType(name = "Header", propOrder = {
046 "any"
047 })
048 public class Header {
049
050 @XmlAnyElement(lax = true)
051 protected List<Object> any;
052 @XmlAnyAttribute
053 private Map<QName, String> otherAttributes = new HashMap<QName, String>();
054
055 /**
056 * Gets the value of the any property.
057 *
058 * <p>
059 * This accessor method returns a reference to the live list,
060 * not a snapshot. Therefore any modification you make to the
061 * returned list will be present inside the JAXB object.
062 * This is why there is not a <CODE>set</CODE> method for the any property.
063 *
064 * <p>
065 * For example, to add a new item, do as follows:
066 * <pre>
067 * getAny().add(newItem);
068 * </pre>
069 *
070 *
071 * <p>
072 * Objects of the following type(s) are allowed in the list
073 * {@link Object }
074 * {@link Element }
075 *
076 *
077 */
078 public List<Object> getAny() {
079 if (any == null) {
080 any = new ArrayList<Object>();
081 }
082 return this.any;
083 }
084
085 /**
086 * Gets a map that contains attributes that aren't bound to any typed property on this class.
087 *
088 * <p>
089 * the map is keyed by the name of the attribute and
090 * the value is the string value of the attribute.
091 *
092 * the map returned by this method is live, and you can add new attribute
093 * by updating the map directly. Because of this design, there's no setter.
094 *
095 *
096 * @return
097 * always non-null
098 */
099 public Map<QName, String> getOtherAttributes() {
100 return otherAttributes;
101 }
102
103 }