1 2 package org.w3._2001._04.xmlenc_; 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.XmlElementRef; 10 import javax.xml.bind.annotation.XmlElementRefs; 11 import javax.xml.bind.annotation.XmlRootElement; 12 import javax.xml.bind.annotation.XmlType; 13 14 15 35 @XmlAccessorType(XmlAccessType.FIELD) 36 @XmlType(name = "", propOrder = { 37 "dataReferenceOrKeyReference" 38 }) 39 @XmlRootElement(name = "ReferenceList") 40 public class ReferenceList { 41 42 @XmlElementRefs({ 43 @XmlElementRef(name = "DataReference", namespace = "http://www.w3.org/2001/04/xmlenc#", type = JAXBElement.class), 44 @XmlElementRef(name = "KeyReference", namespace = "http://www.w3.org/2001/04/xmlenc#", type = JAXBElement.class) 45 }) 46 protected List <JAXBElement<ReferenceType>> dataReferenceOrKeyReference; 47 48 71 public List <JAXBElement<ReferenceType>> getDataReferenceOrKeyReference() { 72 if (dataReferenceOrKeyReference == null) { 73 dataReferenceOrKeyReference = new ArrayList <JAXBElement<ReferenceType>>(); 74 } 75 return this.dataReferenceOrKeyReference; 76 } 77 78 } 79 | Popular Tags |