java.lang.Object | ||
↳ | xades4j.properties.DataObjectDesc | |
↳ | xades4j.production.EnvelopedXmlObject |
Represents content (tipically XML) that will be enveloped in the signature.
Each instance of this class will result in a ds:Object
in the final
XAdES signature, which will contain the data. Also, this Object
will
be covered by a ds:Reference
so that it is actually included in the
signature.
If one wants to add content other than XML, a text node can be used.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new instance with the given context.
| |||||||||||
Creates a new instance with the given content, mime type and encoding.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the encoding of the content.
| |||||||||||
Gets the mime type of the content.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
xades4j.properties.DataObjectDesc
| |||||||||||
From class
java.lang.Object
|
Creates a new instance with the given context.
content | the XML content |
---|
NullPointerException | if content is null
|
---|
Creates a new instance with the given content, mime type and encoding.
content | the XML content |
---|---|
mimeType | the mime type of the content (may be null ) |
encoding | the encoding of the content (may be null ) |
NullPointerException | if content is null
|
---|
Gets the encoding of the content.
null
if not specified
Gets the mime type of the content.
null
if not specified