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.XmlType; 20 import com.sun.xml.dsig.core.PGPDataType; 21 import org.w3c.dom.Element ; 22 23 24 51 @XmlAccessorType(XmlAccessType.FIELD) 52 @XmlType(name = "PGPDataType", propOrder = { 53 "content" 54 }) 55 public class PGPDataType { 56 57 @XmlElementRefs({ 58 @XmlElementRef(name = "PGPKeyPacket", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), 59 @XmlElementRef(name = "PGPKeyID", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) 60 }) 61 @XmlAnyElement(lax = true) 62 protected List <Object > content; 63 64 99 public List <Object > getContent() { 100 if (content == null) { 101 content = new ArrayList <Object >(); 102 } 103 return this.content; 104 } 105 106 } 107 | Popular Tags |