KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > xml > ws > security > impl > bindings > AttributedString


1 //
2
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b26-ea3
3
// See <a HREF="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4
// Any modifications to this file will be lost upon recompilation of the source schema.
5
// Generated on: 2006.02.24 at 05:55:09 PM PST
6
//
7

8
9 package com.sun.xml.ws.security.impl.bindings;
10
11 import java.util.HashMap JavaDoc;
12 import java.util.Map JavaDoc;
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlAnyAttribute;
16 import javax.xml.bind.annotation.XmlAttribute;
17 import javax.xml.bind.annotation.XmlID;
18 import javax.xml.bind.annotation.XmlType;
19 import javax.xml.bind.annotation.XmlValue;
20 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
21 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
22 import javax.xml.namespace.QName JavaDoc;
23 import com.sun.xml.ws.security.impl.bindings.AttributedString;
24
25
26 /**
27  * This type represents an element with arbitrary attributes.
28  *
29  * <p>Java class for AttributedString complex type.
30  *
31  * <p>The following schema fragment specifies the expected content contained within this class.
32  *
33  * <pre>
34  * &lt;complexType name="AttributedString">
35  * &lt;simpleContent>
36  * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
37  * &lt;attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id"/>
38  * &lt;/extension>
39  * &lt;/simpleContent>
40  * &lt;/complexType>
41  * </pre>
42  *
43  *
44  */

45 @XmlAccessorType(XmlAccessType.FIELD)
46 @XmlType(name = "AttributedString", propOrder = {
47     "value"
48 })
49 public class AttributedString {
50
51     @XmlValue
52     protected String JavaDoc value;
53     @XmlAttribute(name = "Id", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd")
54     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
55     @XmlID
56     protected String JavaDoc id;
57     @XmlAnyAttribute
58     private Map JavaDoc<QName JavaDoc, String JavaDoc> otherAttributes = new HashMap JavaDoc<QName JavaDoc, String JavaDoc>();
59
60     /**
61      * Gets the value of the value property.
62      *
63      * @return
64      * possible object is
65      * {@link String }
66      *
67      */

68     public String JavaDoc getValue() {
69         return value;
70     }
71
72     /**
73      * Sets the value of the value property.
74      *
75      * @param value
76      * allowed object is
77      * {@link String }
78      *
79      */

80     public void setValue(String JavaDoc value) {
81         this.value = value;
82     }
83
84     /**
85      * Gets the value of the id property.
86      *
87      * @return
88      * possible object is
89      * {@link String }
90      *
91      */

92     public String JavaDoc getId() {
93         return id;
94     }
95
96     /**
97      * Sets the value of the id property.
98      *
99      * @param value
100      * allowed object is
101      * {@link String }
102      *
103      */

104     public void setId(String JavaDoc value) {
105         this.id = value;
106     }
107
108     /**
109      * Gets a map that contains attributes that aren't bound to any typed property on this class.
110      *
111      * <p>
112      * the map is keyed by the name of the attribute and
113      * the value is the string value of the attribute.
114      *
115      * the map returned by this method is live, and you can add new attribute
116      * by updating the map directly. Because of this design, there's no setter.
117      *
118      *
119      * @return
120      * always non-null
121      */

122     public Map JavaDoc<QName JavaDoc, String JavaDoc> getOtherAttributes() {
123         return otherAttributes;
124     }
125
126 }
127
Popular Tags