KickJava   Java API By Example, From Geeks To Geeks.

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


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

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

84     public List JavaDoc<Object JavaDoc> getContent() {
85         if (content == null) {
86             content = new ArrayList JavaDoc<Object JavaDoc>();
87         }
88         return this.content;
89     }
90
91     /**
92      * Gets the value of the algorithm property.
93      *
94      * @return
95      * possible object is
96      * {@link String }
97      *
98      */

99     public String JavaDoc getAlgorithm() {
100         return algorithm;
101     }
102
103     /**
104      * Sets the value of the algorithm property.
105      *
106      * @param value
107      * allowed object is
108      * {@link String }
109      *
110      */

111     public void setAlgorithm(String JavaDoc value) {
112         this.algorithm = value;
113     }
114
115 }
116
Popular Tags