KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > xml > dsig > core > ReferenceType


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.dsig.core;
10
11 import javax.xml.bind.annotation.XmlAccessType;
12 import javax.xml.bind.annotation.XmlAccessorType;
13 import javax.xml.bind.annotation.XmlAttribute;
14 import javax.xml.bind.annotation.XmlElement;
15 import javax.xml.bind.annotation.XmlID;
16 import javax.xml.bind.annotation.XmlType;
17 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
18 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
19 import com.sun.xml.dsig.core.DigestMethodType;
20 import com.sun.xml.dsig.core.ReferenceType;
21 import com.sun.xml.dsig.core.TransformsType;
22
23
24 /**
25  * <p>Java class for ReferenceType complex type.
26  *
27  * <p>The following schema fragment specifies the expected content contained within this class.
28  *
29  * <pre>
30  * &lt;complexType name="ReferenceType">
31  * &lt;complexContent>
32  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33  * &lt;sequence>
34  * &lt;element ref="{http://www.w3.org/2000/09/xmldsig#}Transforms" minOccurs="0"/>
35  * &lt;element ref="{http://www.w3.org/2000/09/xmldsig#}DigestMethod"/>
36  * &lt;element ref="{http://www.w3.org/2000/09/xmldsig#}DigestValue"/>
37  * &lt;/sequence>
38  * &lt;attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
39  * &lt;attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
40  * &lt;attribute name="URI" 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 = "ReferenceType", propOrder = {
50     "transforms",
51     "digestMethod",
52     "digestValue"
53 })
54 public class ReferenceType {
55
56     @XmlElement(name = "Transforms", namespace = "http://www.w3.org/2000/09/xmldsig#")
57     protected TransformsType transforms;
58     @XmlElement(name = "DigestMethod", namespace = "http://www.w3.org/2000/09/xmldsig#")
59     protected DigestMethodType digestMethod;
60     @XmlElement(name = "DigestValue", namespace = "http://www.w3.org/2000/09/xmldsig#")
61     protected byte[] digestValue;
62     @XmlAttribute(name = "Id")
63     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
64     @XmlID
65     protected String JavaDoc id;
66     @XmlAttribute(name = "Type")
67     protected String JavaDoc type;
68     @XmlAttribute(name = "URI")
69     protected String JavaDoc uri;
70
71     /**
72      * Gets the value of the transforms property.
73      *
74      * @return
75      * possible object is
76      * {@link TransformsType }
77      *
78      */

79     public TransformsType getTransforms() {
80         return transforms;
81     }
82
83     /**
84      * Sets the value of the transforms property.
85      *
86      * @param value
87      * allowed object is
88      * {@link TransformsType }
89      *
90      */

91     public void setTransforms(TransformsType value) {
92         this.transforms = value;
93     }
94
95     /**
96      * Gets the value of the digestMethod property.
97      *
98      * @return
99      * possible object is
100      * {@link DigestMethodType }
101      *
102      */

103     public DigestMethodType getDigestMethod() {
104         return digestMethod;
105     }
106
107     /**
108      * Sets the value of the digestMethod property.
109      *
110      * @param value
111      * allowed object is
112      * {@link DigestMethodType }
113      *
114      */

115     public void setDigestMethod(DigestMethodType value) {
116         this.digestMethod = value;
117     }
118
119     /**
120      * Gets the value of the digestValue property.
121      *
122      * @return
123      * possible object is
124      * byte[]
125      */

126     public byte[] getDigestValue() {
127         return digestValue;
128     }
129
130     /**
131      * Sets the value of the digestValue property.
132      *
133      * @param value
134      * allowed object is
135      * byte[]
136      */

137     public void setDigestValue(byte[] value) {
138         this.digestValue = ((byte[]) value);
139     }
140
141     /**
142      * Gets the value of the id property.
143      *
144      * @return
145      * possible object is
146      * {@link String }
147      *
148      */

149     public String JavaDoc getId() {
150         return id;
151     }
152
153     /**
154      * Sets the value of the id property.
155      *
156      * @param value
157      * allowed object is
158      * {@link String }
159      *
160      */

161     public void setId(String JavaDoc value) {
162         this.id = value;
163     }
164
165     /**
166      * Gets the value of the type property.
167      *
168      * @return
169      * possible object is
170      * {@link String }
171      *
172      */

173     public String JavaDoc getType() {
174         return type;
175     }
176
177     /**
178      * Sets the value of the type property.
179      *
180      * @param value
181      * allowed object is
182      * {@link String }
183      *
184      */

185     public void setType(String JavaDoc value) {
186         this.type = value;
187     }
188
189     /**
190      * Gets the value of the uri property.
191      *
192      * @return
193      * possible object is
194      * {@link String }
195      *
196      */

197     public String JavaDoc getURI() {
198         return uri;
199     }
200
201     /**
202      * Sets the value of the uri property.
203      *
204      * @param value
205      * allowed object is
206      * {@link String }
207      *
208      */

209     public void setURI(String JavaDoc value) {
210         this.uri = value;
211     }
212
213 }
214
Popular Tags