KickJava   Java API By Example, From Geeks To Geeks.

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


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.XmlAnyElement;
16 import javax.xml.bind.annotation.XmlAttribute;
17 import javax.xml.bind.annotation.XmlMixed;
18 import javax.xml.bind.annotation.XmlType;
19 import com.sun.xml.dsig.core.CanonicalizationMethodType;
20
21
22 /**
23  * <p>Java class for CanonicalizationMethodType complex type.
24  *
25  * <p>The following schema fragment specifies the expected content contained within this class.
26  *
27  * <pre>
28  * &lt;complexType name="CanonicalizationMethodType">
29  * &lt;complexContent>
30  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31  * &lt;sequence>
32  * &lt;any/>
33  * &lt;/sequence>
34  * &lt;attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
35  * &lt;/restriction>
36  * &lt;/complexContent>
37  * &lt;/complexType>
38  * </pre>
39  *
40  *
41  */

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

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

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

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