Package eu.europa.esig.xmldsig.jaxb
Class ObjectType
- java.lang.Object
-
- eu.europa.esig.xmldsig.jaxb.ObjectType
-
- All Implemented Interfaces:
Serializable
public class ObjectType extends Object implements Serializable
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 processContents='lax'/> </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>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ObjectType()
-
Method Summary
Modifier and Type Method Description List<Object>getContent()Gets the value of the content property.StringgetEncoding()Gets the value of the encoding property.StringgetId()Gets the value of the id property.StringgetMimeType()Gets the value of the mimeType property.voidsetEncoding(String value)Sets the value of the encoding property.voidsetId(String value)Sets the value of the id property.voidsetMimeType(String value)Sets the value of the mimeType property.
-
-
-
Method Detail
-
getContent
public List<Object> getContent()
Gets the value of the content property.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
setmethod 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
ElementObjectString
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getMimeType
public String getMimeType()
Gets the value of the mimeType property.- Returns:
- possible object is
String
-
setMimeType
public void setMimeType(String value)
Sets the value of the mimeType property.- Parameters:
value- allowed object isString
-
getEncoding
public String getEncoding()
Gets the value of the encoding property.- Returns:
- possible object is
String
-
-