1 /**
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19 //
20 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6
21 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
22 // Any modifications to this file will be lost upon recompilation of the source schema.
23 // Generated on: 2014.03.27 at 03:31:20 PM GMT
24 //
25
26
27 package org.apache.wss4j.binding.wss10;
28
29 import java.util.HashMap;
30 import java.util.Map;
31 import jakarta.xml.bind.annotation.XmlAccessType;
32 import jakarta.xml.bind.annotation.XmlAccessorType;
33 import jakarta.xml.bind.annotation.XmlAnyAttribute;
34 import jakarta.xml.bind.annotation.XmlAttribute;
35 import jakarta.xml.bind.annotation.XmlSchemaType;
36 import jakarta.xml.bind.annotation.XmlType;
37 import javax.xml.namespace.QName;
38
39
40 /**
41 * This type represents a reference to an external security token.
42 *
43 * <p>Java class for ReferenceType complex type.
44 *
45 * <p>The following schema fragment specifies the expected content contained within this class.
46 *
47 * <pre>
48 * <complexType name="ReferenceType">
49 * <complexContent>
50 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
51 * <attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
52 * <attribute name="ValueType" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
53 * <anyAttribute processContents='lax' namespace='##other'/>
54 * </restriction>
55 * </complexContent>
56 * </complexType>
57 * </pre>
58 *
59 *
60 */
61 @XmlAccessorType(XmlAccessType.FIELD)
62 @XmlType(name = "ReferenceType")
63 public class ReferenceType {
64
65 @XmlAttribute(name = "URI")
66 @XmlSchemaType(name = "anyURI")
67 private String uri;
68 @XmlAttribute(name = "ValueType")
69 @XmlSchemaType(name = "anyURI")
70 private String valueType;
71 @XmlAnyAttribute
72 private Map<QName, String> otherAttributes = new HashMap<>();
73
74 /**
75 * Gets the value of the uri property.
76 *
77 * @return
78 * possible object is
79 * {@link String }
80 *
81 */
82 public String getURI() {
83 return uri;
84 }
85
86 /**
87 * Sets the value of the uri property.
88 *
89 * @param value
90 * allowed object is
91 * {@link String }
92 *
93 */
94 public void setURI(String value) {
95 this.uri = value;
96 }
97
98 /**
99 * Gets the value of the valueType property.
100 *
101 * @return
102 * possible object is
103 * {@link String }
104 *
105 */
106 public String getValueType() {
107 return valueType;
108 }
109
110 /**
111 * Sets the value of the valueType property.
112 *
113 * @param value
114 * allowed object is
115 * {@link String }
116 *
117 */
118 public void setValueType(String value) {
119 this.valueType = value;
120 }
121
122 /**
123 * Gets a map that contains attributes that aren't bound to any typed property on this class.
124 *
125 * <p>
126 * the map is keyed by the name of the attribute and
127 * the value is the string value of the attribute.
128 *
129 * the map returned by this method is live, and you can add new attribute
130 * by updating the map directly. Because of this design, there's no setter.
131 *
132 *
133 * @return
134 * always non-null
135 */
136 public Map<QName, String> getOtherAttributes() {
137 return otherAttributes;
138 }
139
140 }