1
2 package org.kuali.student.security.wssecurity.secext.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.XmlSeeAlso;
13 import javax.xml.bind.annotation.XmlType;
14 import javax.xml.bind.annotation.XmlValue;
15 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
16 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
17 import javax.xml.namespace.QName;
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40 @XmlAccessorType(XmlAccessType.FIELD)
41 @XmlType(name = "AttributedString", propOrder = {
42 "value"
43 })
44 @XmlSeeAlso({
45 PasswordString.class,
46 EncodedString.class
47 })
48 public class AttributedString {
49
50 @XmlValue
51 protected String value;
52 @XmlAttribute(name = "Id", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd")
53 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
54 @XmlID
55 @XmlSchemaType(name = "ID")
56 protected String id;
57 @XmlAnyAttribute
58 private Map<QName, String> otherAttributes = new HashMap<QName, String>();
59
60
61
62
63
64
65
66
67
68 public String getValue() {
69 return value;
70 }
71
72
73
74
75
76
77
78
79
80 public void setValue(String value) {
81 this.value = value;
82 }
83
84
85
86
87
88
89
90
91
92 public String getId() {
93 return id;
94 }
95
96
97
98
99
100
101
102
103
104 public void setId(String value) {
105 this.id = value;
106 }
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122 public Map<QName, String> getOtherAttributes() {
123 return otherAttributes;
124 }
125
126 }