KickJava   Java API By Example, From Geeks To Geeks.

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


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.DigestMethodType;
20 import org.w3c.dom.Element JavaDoc;
21
22
23 /**
24  * <p>Java class for DigestMethodType complex type.
25  *
26  * <p>The following schema fragment specifies the expected content contained within this class.
27  *
28  * <pre>
29  * &lt;complexType name="DigestMethodType">
30  * &lt;complexContent>
31  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
32  * &lt;sequence>
33  * &lt;any/>
34  * &lt;/sequence>
35  * &lt;attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
36  * &lt;/restriction>
37  * &lt;/complexContent>
38  * &lt;/complexType>
39  * </pre>
40  *
41  *
42  */

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

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

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

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