KickJava   Java API By Example, From Geeks To Geeks.

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


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.trust.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.XmlType;
20 import javax.xml.namespace.QName JavaDoc;
21 import com.sun.xml.ws.security.trust.impl.bindings.EntropyType;
22 import org.w3c.dom.Element JavaDoc;
23
24
25 /**
26  * <p>Java class for EntropyType complex type.
27  *
28  * <p>The following schema fragment specifies the expected content contained within this class.
29  *
30  * <pre>
31  * &lt;complexType name="EntropyType">
32  * &lt;complexContent>
33  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34  * &lt;sequence>
35  * &lt;any/>
36  * &lt;/sequence>
37  * &lt;/restriction>
38  * &lt;/complexContent>
39  * &lt;/complexType>
40  * </pre>
41  *
42  *
43  */

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

78     public List JavaDoc<Object JavaDoc> getAny() {
79         if (any == null) {
80             any = new ArrayList JavaDoc<Object JavaDoc>();
81         }
82         return this.any;
83     }
84
85     /**
86      * Gets a map that contains attributes that aren't bound to any typed property on this class.
87      *
88      * <p>
89      * the map is keyed by the name of the attribute and
90      * the value is the string value of the attribute.
91      *
92      * the map returned by this method is live, and you can add new attribute
93      * by updating the map directly. Because of this design, there's no setter.
94      *
95      *
96      * @return
97      * always non-null
98      */

99     public Map JavaDoc<QName JavaDoc, String JavaDoc> getOtherAttributes() {
100         return otherAttributes;
101     }
102
103 }
104
Popular Tags