1 2 package org.w3._2000._09.xmldsig_; 3 4 import java.util.ArrayList ; 5 import java.util.List ; 6 import javax.xml.bind.JAXBElement; 7 import javax.xml.bind.annotation.XmlAccessType; 8 import javax.xml.bind.annotation.XmlAccessorType; 9 import javax.xml.bind.annotation.XmlAnyElement; 10 import javax.xml.bind.annotation.XmlElementRef; 11 import javax.xml.bind.annotation.XmlElementRefs; 12 import javax.xml.bind.annotation.XmlMixed; 13 import javax.xml.bind.annotation.XmlType; 14 import org.w3c.dom.Element ; 15 16 17 38 @XmlAccessorType(XmlAccessType.FIELD) 39 @XmlType(name = "KeyValueType", propOrder = { 40 "content" 41 }) 42 public class KeyValueType { 43 44 @XmlElementRefs({ 45 @XmlElementRef(name = "RSAKeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), 46 @XmlElementRef(name = "DSAKeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) 47 }) 48 @XmlMixed 49 @XmlAnyElement(lax = true) 50 protected List <Object > content; 51 52 78 public List <Object > getContent() { 79 if (content == null) { 80 content = new ArrayList <Object >(); 81 } 82 return this.content; 83 } 84 85 } 86 | Popular Tags |