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.XmlAnyElement; 16 import javax.xml.bind.annotation.XmlAttribute; 17 import javax.xml.bind.annotation.XmlID; 18 import javax.xml.bind.annotation.XmlMixed; 19 import javax.xml.bind.annotation.XmlType; 20 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; 21 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 22 import com.sun.xml.dsig.core.SignaturePropertyType; 23 import org.w3c.dom.Element ; 24 25 26 47 @XmlAccessorType(XmlAccessType.FIELD) 48 @XmlType(name = "SignaturePropertyType", propOrder = { 49 "content" 50 }) 51 public class SignaturePropertyType { 52 53 @XmlMixed 54 @XmlAnyElement(lax = true) 55 protected List <Object > content; 56 @XmlAttribute(name = "Id") 57 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 58 @XmlID 59 protected String id; 60 @XmlAttribute(name = "Target", required = true) 61 protected String target; 62 63 87 public List <Object > getContent() { 88 if (content == null) { 89 content = new ArrayList <Object >(); 90 } 91 return this.content; 92 } 93 94 102 public String getId() { 103 return id; 104 } 105 106 114 public void setId(String value) { 115 this.id = value; 116 } 117 118 126 public String getTarget() { 127 return target; 128 } 129 130 138 public void setTarget(String value) { 139 this.target = value; 140 } 141 142 } 143 | Popular Tags |