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.JAXBElement; 14 import javax.xml.bind.annotation.XmlAccessType; 15 import javax.xml.bind.annotation.XmlAccessorType; 16 import javax.xml.bind.annotation.XmlAnyElement; 17 import javax.xml.bind.annotation.XmlElementRef; 18 import javax.xml.bind.annotation.XmlElementRefs; 19 import javax.xml.bind.annotation.XmlMixed; 20 import javax.xml.bind.annotation.XmlType; 21 import com.sun.xml.dsig.core.DSAKeyValueType; 22 import com.sun.xml.dsig.core.KeyValueType; 23 import com.sun.xml.dsig.core.RSAKeyValueType; 24 import org.w3c.dom.Element ; 25 26 27 48 @XmlAccessorType(XmlAccessType.FIELD) 49 @XmlType(name = "KeyValueType", propOrder = { 50 "content" 51 }) 52 public class KeyValueType { 53 54 @XmlElementRefs({ 55 @XmlElementRef(name = "RSAKeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), 56 @XmlElementRef(name = "DSAKeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) 57 }) 58 @XmlMixed 59 @XmlAnyElement(lax = true) 60 protected List <Object > content; 61 62 88 public List <Object > getContent() { 89 if (content == null) { 90 content = new ArrayList <Object >(); 91 } 92 return this.content; 93 } 94 95 } 96 | Popular Tags |