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.ObjectType; 23 import org.w3c.dom.Element ; 24 25 26 48 @XmlAccessorType(XmlAccessType.FIELD) 49 @XmlType(name = "ObjectType", propOrder = { 50 "content" 51 }) 52 public class ObjectType { 53 54 @XmlMixed 55 @XmlAnyElement(lax = true) 56 protected List <Object > content; 57 @XmlAttribute(name = "Encoding") 58 protected String encoding; 59 @XmlAttribute(name = "Id") 60 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 61 @XmlID 62 protected String id; 63 @XmlAttribute(name = "MimeType") 64 protected String mimeType; 65 66 90 public List <Object > getContent() { 91 if (content == null) { 92 content = new ArrayList <Object >(); 93 } 94 return this.content; 95 } 96 97 105 public String getEncoding() { 106 return encoding; 107 } 108 109 117 public void setEncoding(String value) { 118 this.encoding = value; 119 } 120 121 129 public String getId() { 130 return id; 131 } 132 133 141 public void setId(String value) { 142 this.id = value; 143 } 144 145 153 public String getMimeType() { 154 return mimeType; 155 } 156 157 165 public void setMimeType(String value) { 166 this.mimeType = value; 167 } 168 169 } 170 | Popular Tags |