KickJava   Java API By Example, From Geeks To Geeks.

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


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.XmlType;
20 import javax.xml.namespace.QName JavaDoc;
21 import com.sun.xml.ws.security.impl.bindings.SecurityHeaderType;
22 import org.w3c.dom.Element JavaDoc;
23
24
25 /**
26  * This complexType defines header block to use for security-relevant data directed at a specific SOAP actor.
27  *
28  * <p>Java class for SecurityHeaderType complex type.
29  *
30  * <p>The following schema fragment specifies the expected content contained within this class.
31  *
32  * <pre>
33  * &lt;complexType name="SecurityHeaderType">
34  * &lt;complexContent>
35  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36  * &lt;sequence>
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 = "SecurityHeaderType", propOrder = {
48     "any"
49 })
50 public class SecurityHeaderType {
51
52     @XmlAnyElement(lax = true)
53     protected List JavaDoc<Object JavaDoc> any;
54     @XmlAnyAttribute
55     private Map JavaDoc<QName JavaDoc, String JavaDoc> otherAttributes = new HashMap JavaDoc<QName JavaDoc, String JavaDoc>();
56
57     /**
58      * Gets the value of the any property.
59      *
60      * <p>
61      * This accessor method returns a reference to the live list,
62      * not a snapshot. Therefore any modification you make to the
63      * returned list will be present inside the JAXB object.
64      * This is why there is not a <CODE>set</CODE> method for the any property.
65      *
66      * <p>
67      * For example, to add a new item, do as follows:
68      * <pre>
69      * getAny().add(newItem);
70      * </pre>
71      *
72      *
73      * <p>
74      * Objects of the following type(s) are allowed in the list
75      * {@link Element }
76      * {@link Object }
77      *
78      *
79      */

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

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