KickJava   Java API By Example, From Geeks To Geeks.

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


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.ArrayList JavaDoc;
12 import java.util.HashMap JavaDoc;
13 import java.util.List JavaDoc;
14 import java.util.Map JavaDoc;
15 import javax.xml.bind.annotation.XmlAccessType;
16 import javax.xml.bind.annotation.XmlAccessorType;
17 import javax.xml.bind.annotation.XmlAnyAttribute;
18 import javax.xml.bind.annotation.XmlAnyElement;
19 import javax.xml.bind.annotation.XmlAttribute;
20 import javax.xml.bind.annotation.XmlID;
21 import javax.xml.bind.annotation.XmlType;
22 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
23 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
24 import javax.xml.namespace.QName JavaDoc;
25 import com.sun.xml.ws.security.impl.bindings.SecurityTokenReferenceType;
26 import org.w3c.dom.Element JavaDoc;
27
28
29 /**
30  * This type is used reference a security token.
31  *
32  * <p>Java class for SecurityTokenReferenceType complex type.
33  *
34  * <p>The following schema fragment specifies the expected content contained within this class.
35  *
36  * <pre>
37  * &lt;complexType name="SecurityTokenReferenceType">
38  * &lt;complexContent>
39  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
40  * &lt;choice maxOccurs="unbounded" minOccurs="0">
41  * &lt;any/>
42  * &lt;/choice>
43  * &lt;attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Usage"/>
44  * &lt;attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id"/>
45  * &lt;/restriction>
46  * &lt;/complexContent>
47  * &lt;/complexType>
48  * </pre>
49  *
50  *
51  */

52 @XmlAccessorType(XmlAccessType.FIELD)
53 @XmlType(name = "SecurityTokenReferenceType", propOrder = {
54     "any"
55 })
56 public class SecurityTokenReferenceType {
57
58     @XmlAnyElement(lax = true)
59     protected List JavaDoc<Object JavaDoc> any;
60     @XmlAttribute(name = "Usage", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd")
61     protected List JavaDoc<String JavaDoc> usage;
62     @XmlAttribute(name = "Id", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd")
63     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
64     @XmlID
65     protected String JavaDoc id;
66     @XmlAnyAttribute
67     private Map JavaDoc<QName JavaDoc, String JavaDoc> otherAttributes = new HashMap JavaDoc<QName JavaDoc, String JavaDoc>();
68
69     /**
70      * Gets the value of the any property.
71      *
72      * <p>
73      * This accessor method returns a reference to the live list,
74      * not a snapshot. Therefore any modification you make to the
75      * returned list will be present inside the JAXB object.
76      * This is why there is not a <CODE>set</CODE> method for the any property.
77      *
78      * <p>
79      * For example, to add a new item, do as follows:
80      * <pre>
81      * getAny().add(newItem);
82      * </pre>
83      *
84      *
85      * <p>
86      * Objects of the following type(s) are allowed in the list
87      * {@link Element }
88      * {@link Object }
89      *
90      *
91      */

92     public List JavaDoc<Object JavaDoc> getAny() {
93         if (any == null) {
94             any = new ArrayList JavaDoc<Object JavaDoc>();
95         }
96         return this.any;
97     }
98
99     /**
100      * Gets the value of the usage property.
101      *
102      * <p>
103      * This accessor method returns a reference to the live list,
104      * not a snapshot. Therefore any modification you make to the
105      * returned list will be present inside the JAXB object.
106      * This is why there is not a <CODE>set</CODE> method for the usage property.
107      *
108      * <p>
109      * For example, to add a new item, do as follows:
110      * <pre>
111      * getUsage().add(newItem);
112      * </pre>
113      *
114      *
115      * <p>
116      * Objects of the following type(s) are allowed in the list
117      * {@link String }
118      *
119      *
120      */

121     public List JavaDoc<String JavaDoc> getUsage() {
122         if (usage == null) {
123             usage = new ArrayList JavaDoc<String JavaDoc>();
124         }
125         return this.usage;
126     }
127
128     /**
129      * Gets the value of the id property.
130      *
131      * @return
132      * possible object is
133      * {@link String }
134      *
135      */

136     public String JavaDoc getId() {
137         return id;
138     }
139
140     /**
141      * Sets the value of the id property.
142      *
143      * @param value
144      * allowed object is
145      * {@link String }
146      *
147      */

148     public void setId(String JavaDoc value) {
149         this.id = value;
150     }
151
152     /**
153      * Gets a map that contains attributes that aren't bound to any typed property on this class.
154      *
155      * <p>
156      * the map is keyed by the name of the attribute and
157      * the value is the string value of the attribute.
158      *
159      * the map returned by this method is live, and you can add new attribute
160      * by updating the map directly. Because of this design, there's no setter.
161      *
162      *
163      * @return
164      * always non-null
165      */

166     public Map JavaDoc<QName JavaDoc, String JavaDoc> getOtherAttributes() {
167         return otherAttributes;
168     }
169
170 }
171
Popular Tags