KickJava   Java API By Example, From Geeks To Geeks.

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


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.secconv.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.secconv.impl.bindings.SecurityContextTokenType;
26 import org.w3c.dom.Element JavaDoc;
27
28
29 /**
30  *
31  * Actual content model is non-deterministic, hence wildcard. The following shows intended content model:
32  *
33  * <pre>
34  * &lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" minOccurs="1" ref="wsc:Identifier"&gt;&lt;/xs:element&gt;
35  * </pre>
36  *
37  * <pre>
38  * &lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" minOccurs="0" ref="wsc:Instance"&gt;&lt;/xs:element&gt;
39  * </pre>
40  *
41  * <pre>
42  * &lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;xs:any xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" maxOccurs="unbounded" minOccurs="0" namespace="##any" processContents="lax"&gt;&lt;/xs:any&gt;
43  * </pre>
44  *
45  *
46  * <p>Java class for SecurityContextTokenType complex type.
47  *
48  * <p>The following schema fragment specifies the expected content contained within this class.
49  *
50  * <pre>
51  * &lt;complexType name="SecurityContextTokenType">
52  * &lt;complexContent>
53  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
54  * &lt;sequence>
55  * &lt;any/>
56  * &lt;/sequence>
57  * &lt;attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id"/>
58  * &lt;/restriction>
59  * &lt;/complexContent>
60  * &lt;/complexType>
61  * </pre>
62  *
63  *
64  */

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

103     public List JavaDoc<Object JavaDoc> getAny() {
104         if (any == null) {
105             any = new ArrayList JavaDoc<Object JavaDoc>();
106         }
107         return this.any;
108     }
109
110     /**
111      * Gets the value of the id property.
112      *
113      * @return
114      * possible object is
115      * {@link String }
116      *
117      */

118     public String JavaDoc getId() {
119         return id;
120     }
121
122     /**
123      * Sets the value of the id property.
124      *
125      * @param value
126      * allowed object is
127      * {@link String }
128      *
129      */

130     public void setId(String JavaDoc value) {
131         this.id = value;
132     }
133
134     /**
135      * Gets a map that contains attributes that aren't bound to any typed property on this class.
136      *
137      * <p>
138      * the map is keyed by the name of the attribute and
139      * the value is the string value of the attribute.
140      *
141      * the map returned by this method is live, and you can add new attribute
142      * by updating the map directly. Because of this design, there's no setter.
143      *
144      *
145      * @return
146      * always non-null
147      */

148     public Map JavaDoc<QName JavaDoc, String JavaDoc> getOtherAttributes() {
149         return otherAttributes;
150     }
151
152 }
153
Popular Tags