KickJava   Java API By Example, From Geeks To Geeks.

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


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.math.BigInteger JavaDoc;
12 import java.util.ArrayList JavaDoc;
13 import java.util.List JavaDoc;
14 import javax.xml.bind.JAXBElement;
15 import javax.xml.bind.annotation.XmlAccessType;
16 import javax.xml.bind.annotation.XmlAccessorType;
17 import javax.xml.bind.annotation.XmlAnyElement;
18 import javax.xml.bind.annotation.XmlAttribute;
19 import javax.xml.bind.annotation.XmlElementRef;
20 import javax.xml.bind.annotation.XmlMixed;
21 import javax.xml.bind.annotation.XmlType;
22 import com.sun.xml.dsig.core.SignatureMethodType;
23
24
25 /**
26  * <p>Java class for SignatureMethodType complex type.
27  *
28  * <p>The following schema fragment specifies the expected content contained within this class.
29  *
30  * <pre>
31  * &lt;complexType name="SignatureMethodType">
32  * &lt;complexContent>
33  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34  * &lt;sequence>
35  * &lt;element name="HMACOutputLength" type="{http://www.w3.org/2000/09/xmldsig#}HMACOutputLengthType" minOccurs="0"/>
36  * &lt;any/>
37  * &lt;/sequence>
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 = "SignatureMethodType", propOrder = {
48     "content"
49 })
50 public class SignatureMethodType {
51
52     @XmlElementRef(name = "HMACOutputLength", 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 String }
78      * {@link Object }
79      * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
80      *
81      *
82      */

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

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

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