public class DataObjectInfoImpl extends Object implements DataObjectInfo
DataObjectInfo
.STRUCTURE_DETACHED, STRUCTURE_ENVELOPING
Constructor and Description |
---|
DataObjectInfoImpl() |
Modifier and Type | Method and Description |
---|---|
CreateTransformsInfoProfile |
getCreateTransformsInfoProfile()
Gets information for the transformation of the data object.
|
Content |
getDataObject()
Gets information related to a single data object.
|
String |
getStructure()
Gets the structure of the signature.
|
boolean |
isChildOfManifest()
Checks whether a refercence will be placed in the signature itself or
in the manifest.
|
void |
setChildOfManifest(boolean childOfManifest)
Sets whether a reference will be placed in the signature itself or in the
manifest.
|
void |
setCreateTransformsInfoProfile(CreateTransformsInfoProfile profile)
Sets additional information for the transformations.
|
void |
setDataObject(Content dataObject)
Sets the data object to be signed.
|
void |
setStructure(String structure)
Sets the signature structure type.
|
public void setStructure(String structure)
structure
- The signature structure type.public String getStructure()
DataObjectInfo
getStructure
in interface DataObjectInfo
public void setChildOfManifest(boolean childOfManifest)
childOfManifest
- Whether to put the reference in the signature of
in the manifest.public boolean isChildOfManifest()
DataObjectInfo
isChildOfManifest
in interface DataObjectInfo
true
if a reference will be placed in the manifest,
false
if it will be placed in the signature.public void setDataObject(Content dataObject)
dataObject
- The data object to be signed.public Content getDataObject()
DataObjectInfo
getDataObject
in interface DataObjectInfo
public void setCreateTransformsInfoProfile(CreateTransformsInfoProfile profile)
profile
- The profile containing additional information for the
transformations.public CreateTransformsInfoProfile getCreateTransformsInfoProfile()
DataObjectInfo
getCreateTransformsInfoProfile
in interface DataObjectInfo
Copyright © 2016. All rights reserved.