1 8 9 package com.sun.xml.dsig.core; 10 11 import java.util.ArrayList ; 12 import java.util.List ; 13 import javax.xml.bind.annotation.XmlAccessType; 14 import javax.xml.bind.annotation.XmlAccessorType; 15 import javax.xml.bind.annotation.XmlAnyElement; 16 import javax.xml.bind.annotation.XmlAttribute; 17 import javax.xml.bind.annotation.XmlMixed; 18 import javax.xml.bind.annotation.XmlType; 19 import com.sun.xml.dsig.core.DigestMethodType; 20 import org.w3c.dom.Element ; 21 22 23 43 @XmlAccessorType(XmlAccessType.FIELD) 44 @XmlType(name = "DigestMethodType", propOrder = { 45 "content" 46 }) 47 public class DigestMethodType { 48 49 @XmlMixed 50 @XmlAnyElement(lax = true) 51 protected List <Object > content; 52 @XmlAttribute(name = "Algorithm", required = true) 53 protected String algorithm; 54 55 79 public List <Object > getContent() { 80 if (content == null) { 81 content = new ArrayList <Object >(); 82 } 83 return this.content; 84 } 85 86 94 public String getAlgorithm() { 95 return algorithm; 96 } 97 98 106 public void setAlgorithm(String value) { 107 this.algorithm = value; 108 } 109 110 } 111 | Popular Tags |