KickJava   Java API By Example, From Geeks To Geeks.

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


1
2 package org.w3._2000._09.xmldsig_;
3
4 import java.util.ArrayList JavaDoc;
5 import java.util.List JavaDoc;
6 import javax.xml.bind.annotation.XmlAccessType;
7 import javax.xml.bind.annotation.XmlAccessorType;
8 import javax.xml.bind.annotation.XmlAnyElement;
9 import javax.xml.bind.annotation.XmlAttribute;
10 import javax.xml.bind.annotation.XmlMixed;
11 import javax.xml.bind.annotation.XmlSchemaType;
12 import javax.xml.bind.annotation.XmlType;
13
14
15 /**
16  * <p>Java class for CanonicalizationMethodType complex type.
17  *
18  * <p>The following schema fragment specifies the expected content contained within this class.
19  *
20  * <pre>
21  * &lt;complexType name="CanonicalizationMethodType">
22  * &lt;complexContent>
23  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
24  * &lt;sequence>
25  * &lt;any/>
26  * &lt;/sequence>
27  * &lt;attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
28  * &lt;/restriction>
29  * &lt;/complexContent>
30  * &lt;/complexType>
31  * </pre>
32  *
33  *
34  */

35 @XmlAccessorType(XmlAccessType.FIELD)
36 @XmlType(name = "CanonicalizationMethodType", propOrder = {
37     "content"
38 })
39 public class CanonicalizationMethodType {
40
41     @XmlMixed
42     @XmlAnyElement(lax = true)
43     protected List JavaDoc<Object JavaDoc> content;
44     @XmlAttribute(name = "Algorithm", required = true)
45     @XmlSchemaType(name = "anyURI")
46     protected String JavaDoc algorithm;
47
48     /**
49      * Gets the value of the content property.
50      *
51      * <p>
52      * This accessor method returns a reference to the live list,
53      * not a snapshot. Therefore any modification you make to the
54      * returned list will be present inside the JAXB object.
55      * This is why there is not a <CODE>set</CODE> method for the content property.
56      *
57      * <p>
58      * For example, to add a new item, do as follows:
59      * <pre>
60      * getContent().add(newItem);
61      * </pre>
62      *
63      *
64      * <p>
65      * Objects of the following type(s) are allowed in the list
66      * {@link Object }
67      * {@link String }
68      *
69      *
70      */

71     public List JavaDoc<Object JavaDoc> getContent() {
72         if (content == null) {
73             content = new ArrayList JavaDoc<Object JavaDoc>();
74         }
75         return this.content;
76     }
77
78     /**
79      * Gets the value of the algorithm property.
80      *
81      * @return
82      * possible object is
83      * {@link String }
84      *
85      */

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

98     public void setAlgorithm(String JavaDoc value) {
99         this.algorithm = value;
100     }
101
102 }
103
Popular Tags