KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > w3 > _2000 > _09 > xmldsig_ > SignatureValueType


1
2 package org.w3._2000._09.xmldsig_;
3
4 import javax.xml.bind.annotation.XmlAccessType;
5 import javax.xml.bind.annotation.XmlAccessorType;
6 import javax.xml.bind.annotation.XmlAttribute;
7 import javax.xml.bind.annotation.XmlID;
8 import javax.xml.bind.annotation.XmlSchemaType;
9 import javax.xml.bind.annotation.XmlType;
10 import javax.xml.bind.annotation.XmlValue;
11 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
12 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
13
14
15 /**
16  * <p>Java class for SignatureValueType complex type.
17  *
18  * <p>The following schema fragment specifies the expected content contained within this class.
19  *
20  * <pre>
21  * &lt;complexType name="SignatureValueType">
22  * &lt;simpleContent>
23  * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>base64Binary">
24  * &lt;attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
25  * &lt;/extension>
26  * &lt;/simpleContent>
27  * &lt;/complexType>
28  * </pre>
29  *
30  *
31  */

32 @XmlAccessorType(XmlAccessType.FIELD)
33 @XmlType(name = "SignatureValueType", propOrder = {
34     "value"
35 })
36 public class SignatureValueType {
37
38     @XmlValue
39     protected byte[] value;
40     @XmlAttribute(name = "Id")
41     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
42     @XmlID
43     @XmlSchemaType(name = "ID")
44     protected String JavaDoc id;
45
46     /**
47      * Gets the value of the value property.
48      *
49      * @return
50      * possible object is
51      * byte[]
52      */

53     public byte[] getValue() {
54         return value;
55     }
56
57     /**
58      * Sets the value of the value property.
59      *
60      * @param value
61      * allowed object is
62      * byte[]
63      */

64     public void setValue(byte[] value) {
65         this.value = ((byte[]) value);
66     }
67
68     /**
69      * Gets the value of the id property.
70      *
71      * @return
72      * possible object is
73      * {@link String }
74      *
75      */

76     public String JavaDoc getId() {
77         return id;
78     }
79
80     /**
81      * Sets the value of the id property.
82      *
83      * @param value
84      * allowed object is
85      * {@link String }
86      *
87      */

88     public void setId(String JavaDoc value) {
89         this.id = value;
90     }
91
92 }
93
Popular Tags