KickJava   Java API By Example, From Geeks To Geeks.

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


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.XmlType;
21 import javax.xml.namespace.QName JavaDoc;
22 import com.sun.xml.ws.security.impl.bindings.EmbeddedType;
23 import org.w3c.dom.Element JavaDoc;
24
25
26 /**
27  * This type represents a reference to an embedded security token.
28  *
29  * <p>Java class for EmbeddedType complex type.
30  *
31  * <p>The following schema fragment specifies the expected content contained within this class.
32  *
33  * <pre>
34  * &lt;complexType name="EmbeddedType">
35  * &lt;complexContent>
36  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
37  * &lt;choice maxOccurs="unbounded" minOccurs="0">
38  * &lt;any/>
39  * &lt;/choice>
40  * &lt;attribute name="ValueType" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
41  * &lt;/restriction>
42  * &lt;/complexContent>
43  * &lt;/complexType>
44  * </pre>
45  *
46  *
47  */

48 @XmlAccessorType(XmlAccessType.FIELD)
49 @XmlType(name = "EmbeddedType", propOrder = {
50     "any"
51 })
52 public class EmbeddedType {
53
54     @XmlAnyElement(lax = true)
55     protected List JavaDoc<Object JavaDoc> any;
56     @XmlAttribute(name = "ValueType")
57     protected String JavaDoc valueType;
58     @XmlAnyAttribute
59     private Map JavaDoc<QName JavaDoc, String JavaDoc> otherAttributes = new HashMap JavaDoc<QName JavaDoc, String JavaDoc>();
60
61     /**
62      * Gets the value of the any property.
63      *
64      * <p>
65      * This accessor method returns a reference to the live list,
66      * not a snapshot. Therefore any modification you make to the
67      * returned list will be present inside the JAXB object.
68      * This is why there is not a <CODE>set</CODE> method for the any property.
69      *
70      * <p>
71      * For example, to add a new item, do as follows:
72      * <pre>
73      * getAny().add(newItem);
74      * </pre>
75      *
76      *
77      * <p>
78      * Objects of the following type(s) are allowed in the list
79      * {@link Element }
80      * {@link Object }
81      *
82      *
83      */

84     public List JavaDoc<Object JavaDoc> getAny() {
85         if (any == null) {
86             any = new ArrayList JavaDoc<Object JavaDoc>();
87         }
88         return this.any;
89     }
90
91     /**
92      * Gets the value of the valueType property.
93      *
94      * @return
95      * possible object is
96      * {@link String }
97      *
98      */

99     public String JavaDoc getValueType() {
100         return valueType;
101     }
102
103     /**
104      * Sets the value of the valueType property.
105      *
106      * @param value
107      * allowed object is
108      * {@link String }
109      *
110      */

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

129     public Map JavaDoc<QName JavaDoc, String JavaDoc> getOtherAttributes() {
130         return otherAttributes;
131     }
132
133 }
134
Popular Tags