001: /*
002: * The contents of this file are subject to the terms
003: * of the Common Development and Distribution License
004: * (the License). You may not use this file except in
005: * compliance with the License.
006: *
007: * You can obtain a copy of the license at
008: * https://glassfish.dev.java.net/public/CDDLv1.0.html.
009: * See the License for the specific language governing
010: * permissions and limitations under the License.
011: *
012: * When distributing Covered Code, include this CDDL
013: * Header Notice in each file and include the License file
014: * at https://glassfish.dev.java.net/public/CDDLv1.0.html.
015: * If applicable, add the following below the CDDL Header,
016: * with the fields enclosed by brackets [] replaced by
017: * you own identifying information:
018: * "Portions Copyrighted [year] [name of copyright owner]"
019: *
020: * Copyright 2006 Sun Microsystems Inc. All Rights Reserved
021: */
022:
023: //
024: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b24-ea3
025: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
026: // Any modifications to this file will be lost upon recompilation of the source schema.
027: // Generated on: 2006.01.20 at 03:59:03 PM IST
028: //
029:
030: package com.sun.xml.security.core.dsig;
031:
032: import java.util.ArrayList;
033: import java.util.List;
034: import javax.xml.bind.annotation.XmlAccessType;
035: import javax.xml.bind.annotation.XmlAccessorType;
036: import javax.xml.bind.annotation.XmlAnyElement;
037: import javax.xml.bind.annotation.XmlAttribute;
038: import javax.xml.bind.annotation.XmlID;
039: import javax.xml.bind.annotation.XmlMixed;
040: import javax.xml.bind.annotation.XmlType;
041: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
042: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
043:
044: /**
045: * <p>Java class for ObjectType complex type.
046: *
047: * <p>The following schema fragment specifies the expected content contained within this class.
048: *
049: * <pre>
050: * <complexType name="ObjectType">
051: * <complexContent>
052: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
053: * <sequence maxOccurs="unbounded" minOccurs="0">
054: * <any/>
055: * </sequence>
056: * <attribute name="Encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
057: * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
058: * <attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" />
059: * </restriction>
060: * </complexContent>
061: * </complexType>
062: * </pre>
063: *
064: *
065: */
066: @XmlAccessorType(XmlAccessType.FIELD)
067: @XmlType(name="ObjectType",propOrder={"content"})
068: public class ObjectType {
069:
070: @XmlMixed
071: @XmlAnyElement(lax=true)
072: protected List<Object> content;
073: @XmlAttribute(name="Encoding")
074: protected String encoding;
075: @XmlAttribute(name="Id")
076: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
077: @XmlID
078: protected String id;
079: @XmlAttribute(name="MimeType")
080: protected String mimeType;
081:
082: /**
083: * Gets the value of the content property.
084: *
085: * <p>
086: * This accessor method returns a reference to the live list,
087: * not a snapshot. Therefore any modification you make to the
088: * returned list will be present inside the JAXB object.
089: * This is why there is not a <CODE>set</CODE> method for the content property.
090: *
091: * <p>
092: * For example, to add a new item, do as follows:
093: * <pre>
094: * getContent().add(newItem);
095: * </pre>
096: *
097: *
098: * <p>
099: * Objects of the following type(s) are allowed in the list
100: * {@link Object }
101: * {@link String }
102: * {@link Element }
103: *
104: *
105: */
106: public List<Object> getContent() {
107: if (content == null) {
108: content = new ArrayList<Object>();
109: }
110: return this .content;
111: }
112:
113: /**
114: * Gets the value of the encoding property.
115: *
116: * @return
117: * possible object is
118: * {@link String }
119: *
120: */
121: public String getEncoding() {
122: return encoding;
123: }
124:
125: /**
126: * Sets the value of the encoding property.
127: *
128: * @param value
129: * allowed object is
130: * {@link String }
131: *
132: */
133: public void setEncoding(String value) {
134: this .encoding = value;
135: }
136:
137: /**
138: * Gets the value of the id property.
139: *
140: * @return
141: * possible object is
142: * {@link String }
143: *
144: */
145: public String getId() {
146: return id;
147: }
148:
149: /**
150: * Sets the value of the id property.
151: *
152: * @param value
153: * allowed object is
154: * {@link String }
155: *
156: */
157: public void setId(String value) {
158: this .id = value;
159: }
160:
161: /**
162: * Gets the value of the mimeType property.
163: *
164: * @return
165: * possible object is
166: * {@link String }
167: *
168: */
169: public String getMimeType() {
170: return mimeType;
171: }
172:
173: /**
174: * Sets the value of the mimeType property.
175: *
176: * @param value
177: * allowed object is
178: * {@link String }
179: *
180: */
181: public void setMimeType(String value) {
182: this.mimeType = value;
183: }
184:
185: }
|