java.lang.Object
eu.europa.esig.dss.xades.DSSObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioneu.europa.esig.dss.model.DSSDocumentGets the content of the ds:Object element to be createdGets the encoding algorithmgetId()Gets the IdGets the MimeTypevoidsetContent(eu.europa.esig.dss.model.DSSDocument content) Sets the content of ds:Object element to be created Can be XML or any other format (e.g. base64 encoded)voidsetEncodingAlgorithm(String encodingAlgorithm) Sets the value for the "encoding" attributevoidSets the value for the "Id" attributevoidsetMimeType(String mimeType) Sets the value for the "MimeType" attributetoString()
-
Constructor Details
-
DSSObject
public DSSObject()Default constructor
-
-
Method Details
-
getContent
public eu.europa.esig.dss.model.DSSDocument getContent()Gets the content of the ds:Object element to be created- Returns:
DSSDocument
-
setContent
public void setContent(eu.europa.esig.dss.model.DSSDocument content) Sets the content of ds:Object element to be created Can be XML or any other format (e.g. base64 encoded)- Parameters:
content-DSSDocument
-
getId
-
setId
-
getMimeType
-
setMimeType
-
getEncodingAlgorithm
-
setEncodingAlgorithm
-
toString
-