001: package org.w3._2000._09.xmldsig_;
002:
003: import java.util.ArrayList;
004: import java.util.List;
005: import javax.xml.bind.annotation.XmlAccessType;
006: import javax.xml.bind.annotation.XmlAccessorType;
007: import javax.xml.bind.annotation.XmlAnyElement;
008: import javax.xml.bind.annotation.XmlAttribute;
009: import javax.xml.bind.annotation.XmlID;
010: import javax.xml.bind.annotation.XmlMixed;
011: import javax.xml.bind.annotation.XmlSchemaType;
012: import javax.xml.bind.annotation.XmlType;
013: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
014: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
015: import org.w3c.dom.Element;
016:
017: /**
018: * <p>Java class for ObjectType complex type.
019: *
020: * <p>The following schema fragment specifies the expected content contained within this class.
021: *
022: * <pre>
023: * <complexType name="ObjectType">
024: * <complexContent>
025: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
026: * <sequence maxOccurs="unbounded" minOccurs="0">
027: * <any/>
028: * </sequence>
029: * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
030: * <attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" />
031: * <attribute name="Encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
032: * </restriction>
033: * </complexContent>
034: * </complexType>
035: * </pre>
036: *
037: *
038: */
039: @XmlAccessorType(XmlAccessType.FIELD)
040: @XmlType(name="ObjectType",propOrder={"content"})
041: public class ObjectType {
042:
043: @XmlMixed
044: @XmlAnyElement(lax=true)
045: protected List<Object> content;
046: @XmlAttribute(name="Id")
047: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
048: @XmlID
049: @XmlSchemaType(name="ID")
050: protected String id;
051: @XmlAttribute(name="MimeType")
052: protected String mimeType;
053: @XmlAttribute(name="Encoding")
054: @XmlSchemaType(name="anyURI")
055: protected String encoding;
056:
057: /**
058: * Gets the value of the content property.
059: *
060: * <p>
061: * This accessor method returns a reference to the live list,
062: * not a snapshot. Therefore any modification you make to the
063: * returned list will be present inside the JAXB object.
064: * This is why there is not a <CODE>set</CODE> method for the content property.
065: *
066: * <p>
067: * For example, to add a new item, do as follows:
068: * <pre>
069: * getContent().add(newItem);
070: * </pre>
071: *
072: *
073: * <p>
074: * Objects of the following type(s) are allowed in the list
075: * {@link String }
076: * {@link Element }
077: * {@link Object }
078: *
079: *
080: */
081: public List<Object> getContent() {
082: if (content == null) {
083: content = new ArrayList<Object>();
084: }
085: return this .content;
086: }
087:
088: /**
089: * Gets the value of the id property.
090: *
091: * @return
092: * possible object is
093: * {@link String }
094: *
095: */
096: public String getId() {
097: return id;
098: }
099:
100: /**
101: * Sets the value of the id property.
102: *
103: * @param value
104: * allowed object is
105: * {@link String }
106: *
107: */
108: public void setId(String value) {
109: this .id = value;
110: }
111:
112: /**
113: * Gets the value of the mimeType property.
114: *
115: * @return
116: * possible object is
117: * {@link String }
118: *
119: */
120: public String getMimeType() {
121: return mimeType;
122: }
123:
124: /**
125: * Sets the value of the mimeType property.
126: *
127: * @param value
128: * allowed object is
129: * {@link String }
130: *
131: */
132: public void setMimeType(String value) {
133: this .mimeType = value;
134: }
135:
136: /**
137: * Gets the value of the encoding property.
138: *
139: * @return
140: * possible object is
141: * {@link String }
142: *
143: */
144: public String getEncoding() {
145: return encoding;
146: }
147:
148: /**
149: * Sets the value of the encoding property.
150: *
151: * @param value
152: * allowed object is
153: * {@link String }
154: *
155: */
156: public void setEncoding(String value) {
157: this.encoding = value;
158: }
159:
160: }
|