01: package org.w3._2000._09.xmldsig_;
02:
03: import java.util.ArrayList;
04: import java.util.List;
05: import javax.xml.bind.annotation.XmlAccessType;
06: import javax.xml.bind.annotation.XmlAccessorType;
07: import javax.xml.bind.annotation.XmlAnyElement;
08: import javax.xml.bind.annotation.XmlAttribute;
09: import javax.xml.bind.annotation.XmlMixed;
10: import javax.xml.bind.annotation.XmlSchemaType;
11: import javax.xml.bind.annotation.XmlType;
12:
13: /**
14: * <p>Java class for CanonicalizationMethodType complex type.
15: *
16: * <p>The following schema fragment specifies the expected content contained within this class.
17: *
18: * <pre>
19: * <complexType name="CanonicalizationMethodType">
20: * <complexContent>
21: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
22: * <sequence>
23: * <any/>
24: * </sequence>
25: * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
26: * </restriction>
27: * </complexContent>
28: * </complexType>
29: * </pre>
30: *
31: *
32: */
33: @XmlAccessorType(XmlAccessType.FIELD)
34: @XmlType(name="CanonicalizationMethodType",propOrder={"content"})
35: public class CanonicalizationMethodType {
36:
37: @XmlMixed
38: @XmlAnyElement(lax=true)
39: protected List<Object> content;
40: @XmlAttribute(name="Algorithm",required=true)
41: @XmlSchemaType(name="anyURI")
42: protected String algorithm;
43:
44: /**
45: * Gets the value of the content property.
46: *
47: * <p>
48: * This accessor method returns a reference to the live list,
49: * not a snapshot. Therefore any modification you make to the
50: * returned list will be present inside the JAXB object.
51: * This is why there is not a <CODE>set</CODE> method for the content property.
52: *
53: * <p>
54: * For example, to add a new item, do as follows:
55: * <pre>
56: * getContent().add(newItem);
57: * </pre>
58: *
59: *
60: * <p>
61: * Objects of the following type(s) are allowed in the list
62: * {@link Object }
63: * {@link String }
64: *
65: *
66: */
67: public List<Object> getContent() {
68: if (content == null) {
69: content = new ArrayList<Object>();
70: }
71: return this .content;
72: }
73:
74: /**
75: * Gets the value of the algorithm property.
76: *
77: * @return
78: * possible object is
79: * {@link String }
80: *
81: */
82: public String getAlgorithm() {
83: return algorithm;
84: }
85:
86: /**
87: * Sets the value of the algorithm property.
88: *
89: * @param value
90: * allowed object is
91: * {@link String }
92: *
93: */
94: public void setAlgorithm(String value) {
95: this.algorithm = value;
96: }
97:
98: }
|