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