KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > xml > ws > policy > impl > bindings > PolicyReference


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.policy.impl.bindings;
10
11 import java.util.HashMap JavaDoc;
12 import java.util.Map JavaDoc;
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlAnyAttribute;
16 import javax.xml.bind.annotation.XmlAttribute;
17 import javax.xml.bind.annotation.XmlRootElement;
18 import javax.xml.bind.annotation.XmlType;
19 import javax.xml.namespace.QName JavaDoc;
20 import com.sun.xml.ws.policy.impl.bindings.PolicyReference;
21
22
23 /**
24  * <p>Java class for PolicyReference element declaration.
25  *
26  * <p>The following schema fragment specifies the expected content contained within this class.
27  *
28  * <pre>
29  * &lt;element name="PolicyReference">
30  * &lt;complexType>
31  * &lt;complexContent>
32  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33  * &lt;attribute name="Digest" type="{http://www.w3.org/2001/XMLSchema}base64Binary" />
34  * &lt;attribute name="DigestAlgorithm" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
35  * &lt;attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
36  * &lt;/restriction>
37  * &lt;/complexContent>
38  * &lt;/complexType>
39  * &lt;/element>
40  * </pre>
41  *
42  *
43  */

44 @XmlAccessorType(XmlAccessType.FIELD)
45 @XmlType(name = "")
46 @XmlRootElement(name = "PolicyReference")
47 public class PolicyReference {
48
49     @XmlAttribute(name = "Digest")
50     protected byte[] digest;
51     @XmlAttribute(name = "DigestAlgorithm")
52     protected String JavaDoc digestAlgorithm;
53     @XmlAttribute(name = "URI")
54     protected String JavaDoc uri;
55     @XmlAnyAttribute
56     private Map JavaDoc<QName JavaDoc, String JavaDoc> otherAttributes = new HashMap JavaDoc<QName JavaDoc, String JavaDoc>();
57
58     /**
59      * Gets the value of the digest property.
60      *
61      * @return
62      * possible object is
63      * byte[]
64      */

65     public byte[] getDigest() {
66         return digest;
67     }
68
69     /**
70      * Sets the value of the digest property.
71      *
72      * @param value
73      * allowed object is
74      * byte[]
75      */

76     public void setDigest(byte[] value) {
77         this.digest = ((byte[]) value);
78     }
79
80     /**
81      * Gets the value of the digestAlgorithm property.
82      *
83      * @return
84      * possible object is
85      * {@link String }
86      *
87      */

88     public String JavaDoc getDigestAlgorithm() {
89         return digestAlgorithm;
90     }
91
92     /**
93      * Sets the value of the digestAlgorithm property.
94      *
95      * @param value
96      * allowed object is
97      * {@link String }
98      *
99      */

100     public void setDigestAlgorithm(String JavaDoc value) {
101         this.digestAlgorithm = value;
102     }
103
104     /**
105      * Gets the value of the uri property.
106      *
107      * @return
108      * possible object is
109      * {@link String }
110      *
111      */

112     public String JavaDoc getURI() {
113         return uri;
114     }
115
116     /**
117      * Sets the value of the uri property.
118      *
119      * @param value
120      * allowed object is
121      * {@link String }
122      *
123      */

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

142     public Map JavaDoc<QName JavaDoc, String JavaDoc> getOtherAttributes() {
143         return otherAttributes;
144     }
145
146 }
147
Popular Tags