1
2 package org.kuali.student.security.wssecurity.utility.dto;
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.XmlAttribute;
10 import javax.xml.bind.annotation.XmlID;
11 import javax.xml.bind.annotation.XmlSchemaType;
12 import javax.xml.bind.annotation.XmlType;
13 import javax.xml.bind.annotation.XmlValue;
14 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
15 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
16 import javax.xml.namespace.QName;
17
18
19 /**
20 *
21 * This type is for elements whose [children] is an anyURI and can have arbitrary attributes.
22 *
23 *
24 * <p>Java class for AttributedURI complex type.
25 *
26 * <p>The following schema fragment specifies the expected content contained within this class.
27 *
28 * <pre>
29 * <complexType name="AttributedURI">
30 * <simpleContent>
31 * <extension base="<http://www.w3.org/2001/XMLSchema>anyURI">
32 * <attGroup ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}commonAtts"/>
33 * <anyAttribute processContents='lax' namespace='##other'/>
34 * </extension>
35 * </simpleContent>
36 * </complexType>
37 * </pre>
38 *
39 *
40 */
41 @XmlAccessorType(XmlAccessType.FIELD)
42 @XmlType(name = "AttributedURI", propOrder = {
43 "value"
44 })
45 public class AttributedURI {
46
47 @XmlValue
48 @XmlSchemaType(name = "anyURI")
49 protected String value;
50 @XmlAttribute(name = "Id", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd")
51 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
52 @XmlID
53 @XmlSchemaType(name = "ID")
54 protected String id;
55 @XmlAnyAttribute
56 private Map<QName, String> otherAttributes = new HashMap<QName, String>();
57
58 /**
59 * Gets the value of the value property.
60 *
61 * @return
62 * possible object is
63 * {@link String }
64 *
65 */
66 public String getValue() {
67 return value;
68 }
69
70 /**
71 * Sets the value of the value property.
72 *
73 * @param value
74 * allowed object is
75 * {@link String }
76 *
77 */
78 public void setValue(String value) {
79 this.value = value;
80 }
81
82 /**
83 * Gets the value of the id property.
84 *
85 * @return
86 * possible object is
87 * {@link String }
88 *
89 */
90 public String getId() {
91 return id;
92 }
93
94 /**
95 * Sets the value of the id property.
96 *
97 * @param value
98 * allowed object is
99 * {@link String }
100 *
101 */
102 public void setId(String value) {
103 this.id = value;
104 }
105
106 /**
107 * Gets a map that contains attributes that aren't bound to any typed property on this class.
108 *
109 * <p>
110 * the map is keyed by the name of the attribute and
111 * the value is the string value of the attribute.
112 *
113 * the map returned by this method is live, and you can add new attribute
114 * by updating the map directly. Because of this design, there's no setter.
115 *
116 *
117 * @return
118 * always non-null
119 */
120 public Map<QName, String> getOtherAttributes() {
121 return otherAttributes;
122 }
123
124 }