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