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