KickJava   Java API By Example, From Geeks To Geeks.

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


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.JAXBElement;
7 import javax.xml.bind.annotation.XmlAccessType;
8 import javax.xml.bind.annotation.XmlAccessorType;
9 import javax.xml.bind.annotation.XmlAnyElement;
10 import javax.xml.bind.annotation.XmlAttribute;
11 import javax.xml.bind.annotation.XmlElementRef;
12 import javax.xml.bind.annotation.XmlMixed;
13 import javax.xml.bind.annotation.XmlSchemaType;
14 import javax.xml.bind.annotation.XmlType;
15 import org.w3c.dom.Element JavaDoc;
16
17
18 /**
19  * <p>Java class for TransformType complex type.
20  *
21  * <p>The following schema fragment specifies the expected content contained within this class.
22  *
23  * <pre>
24  * &lt;complexType name="TransformType">
25  * &lt;complexContent>
26  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27  * &lt;choice maxOccurs="unbounded" minOccurs="0">
28  * &lt;any/>
29  * &lt;element name="XPath" type="{http://www.w3.org/2001/XMLSchema}string"/>
30  * &lt;/choice>
31  * &lt;attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
32  * &lt;/restriction>
33  * &lt;/complexContent>
34  * &lt;/complexType>
35  * </pre>
36  *
37  *
38  */

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

78     public List JavaDoc<Object JavaDoc> getContent() {
79         if (content == null) {
80             content = new ArrayList JavaDoc<Object JavaDoc>();
81         }
82         return this.content;
83     }
84
85     /**
86      * Gets the value of the algorithm property.
87      *
88      * @return
89      * possible object is
90      * {@link String }
91      *
92      */

93     public String JavaDoc getAlgorithm() {
94         return algorithm;
95     }
96
97     /**
98      * Sets the value of the algorithm property.
99      *
100      * @param value
101      * allowed object is
102      * {@link String }
103      *
104      */

105     public void setAlgorithm(String JavaDoc value) {
106         this.algorithm = value;
107     }
108
109 }
110
Popular Tags