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.namespace.QName;
7   import jakarta.xml.bind.annotation.XmlAccessType;
8   import jakarta.xml.bind.annotation.XmlAccessorType;
9   import jakarta.xml.bind.annotation.XmlAnyAttribute;
10  import jakarta.xml.bind.annotation.XmlType;
11  import jakarta.xml.bind.annotation.XmlValue;
12  
13  
14  /**
15   * <p>Java class for AttributedQName complex type</p>.
16   * 
17   * <p>The following schema fragment specifies the expected content contained within this class.</p>
18   * 
19   * <pre>{@code
20   * <complexType name="AttributedQName">
21   *   <simpleContent>
22   *     <extension base="<http://www.w3.org/2001/XMLSchema>QName">
23   *       <anyAttribute processContents='lax' namespace='##other'/>
24   *     </extension>
25   *   </simpleContent>
26   * </complexType>
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<>();
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  }