KickJava   Java API By Example, From Geeks To Geeks.

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


1
2 package org.w3._2000._09.xmldsig_;
3
4 import java.math.BigInteger JavaDoc;
5 import java.util.ArrayList JavaDoc;
6 import java.util.List JavaDoc;
7 import javax.xml.bind.JAXBElement;
8 import javax.xml.bind.annotation.XmlAccessType;
9 import javax.xml.bind.annotation.XmlAccessorType;
10 import javax.xml.bind.annotation.XmlAnyElement;
11 import javax.xml.bind.annotation.XmlAttribute;
12 import javax.xml.bind.annotation.XmlElementRef;
13 import javax.xml.bind.annotation.XmlMixed;
14 import javax.xml.bind.annotation.XmlSchemaType;
15 import javax.xml.bind.annotation.XmlType;
16
17
18 /**
19  * <p>Java class for SignatureMethodType complex type.
20  *
21  * <p>The following schema fragment specifies the expected content contained within this class.
22  *
23  * <pre>
24  * &lt;complexType name="SignatureMethodType">
25  * &lt;complexContent>
26  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27  * &lt;sequence>
28  * &lt;element name="HMACOutputLength" type="{http://www.w3.org/2000/09/xmldsig#}HMACOutputLengthType" minOccurs="0"/>
29  * &lt;any/>
30  * &lt;/sequence>
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 = "SignatureMethodType", propOrder = {
41     "content"
42 })
43 public class SignatureMethodType {
44
45     @XmlElementRef(name = "HMACOutputLength", 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 String }
72      * {@link Object }
73      * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
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