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