Package eu.europa.esig.dss.xades
Class DSSObject
java.lang.Object
eu.europa.esig.dss.xades.DSSObject
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the content of the ds:Object element to be createdGets the encoding algorithmgetId()
Gets the IdGets the MimeTypevoid
setContent
(DSSDocument content) Sets the content of ds:Object element to be created Can be XML or any other format (e.g. base64 encoded)void
setEncodingAlgorithm
(String encodingAlgorithm) Sets the value for the "encoding" attributevoid
Sets the value for the "Id" attributevoid
setMimeType
(String mimeType) Sets the value for the "MimeType" attributetoString()
-
Constructor Details
-
DSSObject
public DSSObject()Default constructor
-
-
Method Details
-
getContent
Gets the content of the ds:Object element to be created- Returns:
DSSDocument
-
setContent
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
-