View Javadoc
1   
2   package org.xmlsoap.schemas.ws._2004._08.addressing;
3   
4   import java.util.HashMap;
5   import java.util.Map;
6   import javax.xml.bind.annotation.XmlAccessType;
7   import javax.xml.bind.annotation.XmlAccessorType;
8   import javax.xml.bind.annotation.XmlAnyAttribute;
9   import javax.xml.bind.annotation.XmlType;
10  import javax.xml.bind.annotation.XmlValue;
11  import javax.xml.namespace.QName;
12  
13  
14  /**
15   * <p>Java class for AttributedQName complex type.
16   * 
17   * <p>The following schema fragment specifies the expected content contained within this class.
18   * 
19   * <pre>
20   * &lt;complexType name="AttributedQName"&gt;
21   *   &lt;simpleContent&gt;
22   *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;QName"&gt;
23   *       &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
24   *     &lt;/extension&gt;
25   *   &lt;/simpleContent&gt;
26   * &lt;/complexType&gt;
27   * </pre>
28   * 
29   * 
30   */
31  @XmlAccessorType(XmlAccessType.FIELD)
32  @XmlType(name = "AttributedQName", propOrder = {
33      "value"
34  })
35  public class AttributedQName {
36  
37      @XmlValue
38      protected QName value;
39      @XmlAnyAttribute
40      private Map<QName, String> otherAttributes = new HashMap<QName, String>();
41  
42      /**
43       * Gets the value of the value property.
44       * 
45       * @return
46       *     possible object is
47       *     {@link QName }
48       *     
49       */
50      public QName getValue() {
51          return value;
52      }
53  
54      /**
55       * Sets the value of the value property.
56       * 
57       * @param value
58       *     allowed object is
59       *     {@link QName }
60       *     
61       */
62      public void setValue(QName value) {
63          this.value = value;
64      }
65  
66      /**
67       * Gets a map that contains attributes that aren't bound to any typed property on this class.
68       * 
69       * <p>
70       * the map is keyed by the name of the attribute and 
71       * the value is the string value of the attribute.
72       * 
73       * the map returned by this method is live, and you can add new attribute
74       * by updating the map directly. Because of this design, there's no setter.
75       * 
76       * 
77       * @return
78       *     always non-null
79       */
80      public Map<QName, String> getOtherAttributes() {
81          return otherAttributes;
82      }
83  
84  }