001: package org.w3._2000._09.xmldsig_;
002:
003: import java.util.ArrayList;
004: import java.util.List;
005: import javax.xml.bind.annotation.XmlAccessType;
006: import javax.xml.bind.annotation.XmlAccessorType;
007: import javax.xml.bind.annotation.XmlAnyElement;
008: import javax.xml.bind.annotation.XmlAttribute;
009: import javax.xml.bind.annotation.XmlMixed;
010: import javax.xml.bind.annotation.XmlSchemaType;
011: import javax.xml.bind.annotation.XmlType;
012: import org.w3c.dom.Element;
013:
014: /**
015: * <p>Java class for DigestMethodType complex type.
016: *
017: * <p>The following schema fragment specifies the expected content contained within this class.
018: *
019: * <pre>
020: * <complexType name="DigestMethodType">
021: * <complexContent>
022: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
023: * <sequence>
024: * <any/>
025: * </sequence>
026: * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
027: * </restriction>
028: * </complexContent>
029: * </complexType>
030: * </pre>
031: *
032: *
033: */
034: @XmlAccessorType(XmlAccessType.FIELD)
035: @XmlType(name="DigestMethodType",propOrder={"content"})
036: public class DigestMethodType {
037:
038: @XmlMixed
039: @XmlAnyElement(lax=true)
040: protected List<Object> content;
041: @XmlAttribute(name="Algorithm",required=true)
042: @XmlSchemaType(name="anyURI")
043: protected String algorithm;
044:
045: /**
046: * Gets the value of the content property.
047: *
048: * <p>
049: * This accessor method returns a reference to the live list,
050: * not a snapshot. Therefore any modification you make to the
051: * returned list will be present inside the JAXB object.
052: * This is why there is not a <CODE>set</CODE> method for the content property.
053: *
054: * <p>
055: * For example, to add a new item, do as follows:
056: * <pre>
057: * getContent().add(newItem);
058: * </pre>
059: *
060: *
061: * <p>
062: * Objects of the following type(s) are allowed in the list
063: * {@link String }
064: * {@link Element }
065: * {@link Object }
066: *
067: *
068: */
069: public List<Object> getContent() {
070: if (content == null) {
071: content = new ArrayList<Object>();
072: }
073: return this .content;
074: }
075:
076: /**
077: * Gets the value of the algorithm property.
078: *
079: * @return
080: * possible object is
081: * {@link String }
082: *
083: */
084: public String getAlgorithm() {
085: return algorithm;
086: }
087:
088: /**
089: * Sets the value of the algorithm property.
090: *
091: * @param value
092: * allowed object is
093: * {@link String }
094: *
095: */
096: public void setAlgorithm(String value) {
097: this.algorithm = value;
098: }
099:
100: }
|