KickJava   Java API By Example, From Geeks To Geeks.

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


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

46 @XmlAccessorType(XmlAccessType.FIELD)
47 @XmlType(name = "SignChallengeType", propOrder = {
48     "challenge",
49     "any"
50 })
51 public class SignChallengeType {
52
53     @XmlElement(name = "Challenge", namespace = "http://schemas.xmlsoap.org/ws/2005/02/trust")
54     protected String JavaDoc challenge;
55     @XmlAnyElement(lax = true)
56     protected List JavaDoc<Object JavaDoc> any;
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 challenge property.
62      *
63      * @return
64      * possible object is
65      * {@link String }
66      *
67      */

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

80     public void setChallenge(String JavaDoc value) {
81         this.challenge = value;
82     }
83
84     /**
85      * Gets the value of the any property.
86      *
87      * <p>
88      * This accessor method returns a reference to the live list,
89      * not a snapshot. Therefore any modification you make to the
90      * returned list will be present inside the JAXB object.
91      * This is why there is not a <CODE>set</CODE> method for the any property.
92      *
93      * <p>
94      * For example, to add a new item, do as follows:
95      * <pre>
96      * getAny().add(newItem);
97      * </pre>
98      *
99      *
100      * <p>
101      * Objects of the following type(s) are allowed in the list
102      * {@link Element }
103      * {@link Object }
104      *
105      *
106      */

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

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