public class ObjectType extends Object
Java class for ObjectType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ObjectType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence maxOccurs="unbounded" minOccurs="0"> <any/> </sequence> <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> <attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="Encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Object> |
content |
protected String |
encoding |
protected String |
id |
protected String |
mimeType |
Constructor and Description |
---|
ObjectType() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
getContent()
Gets the value of the content property.
|
String |
getEncoding()
Gets the value of the encoding property.
|
String |
getId()
Gets the value of the id property.
|
String |
getMimeType()
Gets the value of the mimeType property.
|
void |
setEncoding(String value)
Sets the value of the encoding property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setMimeType(String value)
Sets the value of the mimeType property.
|
protected String id
protected String mimeType
protected String encoding
public List<Object> getContent()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
String
Object
Element
public void setId(String value)
value
- allowed object is
String
public String getMimeType()
String
public void setMimeType(String value)
value
- allowed object is
String
public String getEncoding()
String
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.