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.XmlAttribute; 16 import javax.xml.bind.annotation.XmlElement; 17 import javax.xml.bind.annotation.XmlID; 18 import javax.xml.bind.annotation.XmlType; 19 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; 20 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 21 import com.sun.xml.dsig.core.ManifestType; 22 import com.sun.xml.dsig.core.ReferenceType; 23 24 25 45 @XmlAccessorType(XmlAccessType.FIELD) 46 @XmlType(name = "ManifestType", propOrder = { 47 "reference" 48 }) 49 public class ManifestType { 50 51 @XmlElement(name = "Reference", namespace = "http://www.w3.org/2000/09/xmldsig#") 52 protected List <ReferenceType> reference; 53 @XmlAttribute(name = "Id") 54 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 55 @XmlID 56 protected String id; 57 58 80 public List <ReferenceType> getReference() { 81 if (reference == null) { 82 reference = new ArrayList <ReferenceType>(); 83 } 84 return this.reference; 85 } 86 87 95 public String getId() { 96 return id; 97 } 98 99 107 public void setId(String value) { 108 this.id = value; 109 } 110 111 } 112 | Popular Tags |