001
002 package org.w3._2005._08.addressing;
003
004 import java.util.HashMap;
005 import java.util.Map;
006 import javax.xml.bind.annotation.XmlAccessType;
007 import javax.xml.bind.annotation.XmlAccessorType;
008 import javax.xml.bind.annotation.XmlAnyAttribute;
009 import javax.xml.bind.annotation.XmlAnyElement;
010 import javax.xml.bind.annotation.XmlType;
011 import javax.xml.namespace.QName;
012 import org.w3c.dom.Element;
013
014
015 /**
016 * <p>Java class for AttributedAnyType complex type.
017 *
018 * <p>The following schema fragment specifies the expected content contained within this class.
019 *
020 * <pre>
021 * <complexType name="AttributedAnyType">
022 * <complexContent>
023 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
024 * <sequence>
025 * <any/>
026 * </sequence>
027 * </restriction>
028 * </complexContent>
029 * </complexType>
030 * </pre>
031 *
032 *
033 */
034 @XmlAccessorType(XmlAccessType.FIELD)
035 @XmlType(name = "AttributedAnyType", propOrder = {
036 "any"
037 })
038 public class AttributedAnyType {
039
040 @XmlAnyElement(lax = true)
041 protected Object any;
042 @XmlAnyAttribute
043 private Map<QName, String> otherAttributes = new HashMap<QName, String>();
044
045 /**
046 * Gets the value of the any property.
047 *
048 * @return
049 * possible object is
050 * {@link Object }
051 * {@link Element }
052 *
053 */
054 public Object getAny() {
055 return any;
056 }
057
058 /**
059 * Sets the value of the any property.
060 *
061 * @param value
062 * allowed object is
063 * {@link Object }
064 * {@link Element }
065 *
066 */
067 public void setAny(Object value) {
068 this.any = value;
069 }
070
071 /**
072 * Gets a map that contains attributes that aren't bound to any typed property on this class.
073 *
074 * <p>
075 * the map is keyed by the name of the attribute and
076 * the value is the string value of the attribute.
077 *
078 * the map returned by this method is live, and you can add new attribute
079 * by updating the map directly. Because of this design, there's no setter.
080 *
081 *
082 * @return
083 * always non-null
084 */
085 public Map<QName, String> getOtherAttributes() {
086 return otherAttributes;
087 }
088
089 }