KickJava   Java API By Example, From Geeks To Geeks.

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


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 java.util.ArrayList JavaDoc;
12 import java.util.List JavaDoc;
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlAttribute;
16 import javax.xml.bind.annotation.XmlElement;
17 import javax.xml.bind.annotation.XmlID;
18 import javax.xml.bind.annotation.XmlType;
19 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
20 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
21 import com.sun.xml.dsig.core.CanonicalizationMethodType;
22 import com.sun.xml.dsig.core.ReferenceType;
23 import com.sun.xml.dsig.core.SignatureMethodType;
24 import com.sun.xml.dsig.core.SignedInfoType;
25
26
27 /**
28  * <p>Java class for SignedInfoType complex type.
29  *
30  * <p>The following schema fragment specifies the expected content contained within this class.
31  *
32  * <pre>
33  * &lt;complexType name="SignedInfoType">
34  * &lt;complexContent>
35  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36  * &lt;sequence>
37  * &lt;element ref="{http://www.w3.org/2000/09/xmldsig#}CanonicalizationMethod"/>
38  * &lt;element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureMethod"/>
39  * &lt;element ref="{http://www.w3.org/2000/09/xmldsig#}Reference" maxOccurs="unbounded"/>
40  * &lt;/sequence>
41  * &lt;attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
42  * &lt;/restriction>
43  * &lt;/complexContent>
44  * &lt;/complexType>
45  * </pre>
46  *
47  *
48  */

49 @XmlAccessorType(XmlAccessType.FIELD)
50 @XmlType(name = "SignedInfoType", propOrder = {
51     "canonicalizationMethod",
52     "signatureMethod",
53     "reference"
54 })
55 public class SignedInfoType {
56
57     @XmlElement(name = "CanonicalizationMethod", namespace = "http://www.w3.org/2000/09/xmldsig#")
58     protected CanonicalizationMethodType canonicalizationMethod;
59     @XmlElement(name = "SignatureMethod", namespace = "http://www.w3.org/2000/09/xmldsig#")
60     protected SignatureMethodType signatureMethod;
61     @XmlElement(name = "Reference", namespace = "http://www.w3.org/2000/09/xmldsig#")
62     protected List JavaDoc<ReferenceType> reference;
63     @XmlAttribute(name = "Id")
64     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
65     @XmlID
66     protected String JavaDoc id;
67
68     /**
69      * Gets the value of the canonicalizationMethod property.
70      *
71      * @return
72      * possible object is
73      * {@link CanonicalizationMethodType }
74      *
75      */

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

88     public void setCanonicalizationMethod(CanonicalizationMethodType value) {
89         this.canonicalizationMethod = value;
90     }
91
92     /**
93      * Gets the value of the signatureMethod property.
94      *
95      * @return
96      * possible object is
97      * {@link SignatureMethodType }
98      *
99      */

100     public SignatureMethodType getSignatureMethod() {
101         return signatureMethod;
102     }
103
104     /**
105      * Sets the value of the signatureMethod property.
106      *
107      * @param value
108      * allowed object is
109      * {@link SignatureMethodType }
110      *
111      */

112     public void setSignatureMethod(SignatureMethodType value) {
113         this.signatureMethod = value;
114     }
115
116     /**
117      * Gets the value of the reference property.
118      *
119      * <p>
120      * This accessor method returns a reference to the live list,
121      * not a snapshot. Therefore any modification you make to the
122      * returned list will be present inside the JAXB object.
123      * This is why there is not a <CODE>set</CODE> method for the reference property.
124      *
125      * <p>
126      * For example, to add a new item, do as follows:
127      * <pre>
128      * getReference().add(newItem);
129      * </pre>
130      *
131      *
132      * <p>
133      * Objects of the following type(s) are allowed in the list
134      * {@link ReferenceType }
135      *
136      *
137      */

138     public List JavaDoc<ReferenceType> getReference() {
139         if (reference == null) {
140             reference = new ArrayList JavaDoc<ReferenceType>();
141         }
142         return this.reference;
143     }
144
145     /**
146      * Gets the value of the id property.
147      *
148      * @return
149      * possible object is
150      * {@link String }
151      *
152      */

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

165     public void setId(String JavaDoc value) {
166         this.id = value;
167     }
168
169 }
170
Popular Tags