1 2 package org.w3._2001._04.xmlenc_; 3 4 import java.io.Serializable ; 5 import java.util.ArrayList ; 6 import java.util.List ; 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.XmlAttribute; 11 import javax.xml.bind.annotation.XmlElementRef; 12 import javax.xml.bind.annotation.XmlElementRefs; 13 import javax.xml.bind.annotation.XmlMixed; 14 import javax.xml.bind.annotation.XmlSchemaType; 15 import javax.xml.bind.annotation.XmlType; 16 import org.w3._2000._09.xmldsig_.DigestMethodType; 17 import org.w3._2000._09.xmldsig_.KeyInfoType; 18 19 20 43 @XmlAccessorType(XmlAccessType.FIELD) 44 @XmlType(name = "AgreementMethodType", propOrder = { 45 "content" 46 }) 47 public class AgreementMethodType { 48 49 @XmlElementRefs({ 50 @XmlElementRef(name = "OriginatorKeyInfo", namespace = "http://www.w3.org/2001/04/xmlenc#", type = JAXBElement.class), 51 @XmlElementRef(name = "RecipientKeyInfo", namespace = "http://www.w3.org/2001/04/xmlenc#", type = JAXBElement.class), 52 @XmlElementRef(name = "KA-Nonce", namespace = "http://www.w3.org/2001/04/xmlenc#", type = JAXBElement.class), 53 @XmlElementRef(name = "DigestMethod", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) 54 }) 55 @XmlMixed 56 protected List <Serializable > content; 57 @XmlAttribute(name = "Algorithm", required = true) 58 @XmlSchemaType(name = "anyURI") 59 protected String algorithm; 60 61 87 public List <Serializable > getContent() { 88 if (content == null) { 89 content = new ArrayList <Serializable >(); 90 } 91 return this.content; 92 } 93 94 102 public String getAlgorithm() { 103 return algorithm; 104 } 105 106 114 public void setAlgorithm(String value) { 115 this.algorithm = value; 116 } 117 118 } 119 | Popular Tags |