at.gv.egovernment.moa.spss.server.iaik.xmlsign
Class DataObjectTreatmentImpl

java.lang.Object
  |
  +--at.gv.egovernment.moa.spss.server.iaik.xmlsign.DataObjectTreatmentImpl
All Implemented Interfaces:
iaik.server.modules.xmlsign.DataObjectTreatment

public class DataObjectTreatmentImpl
extends Object
implements iaik.server.modules.xmlsign.DataObjectTreatment

An object encapsulating how to treat an associated DataObject when creating a signature.

Version:
$Id$
Author:
Patrick Peck

Constructor Summary
DataObjectTreatmentImpl(IdGenerator objIdGen)
          Create a new DataObjectTreatmentImpl.
 
Method Summary
 String getDsigDataObjectID()
           
 String getFinalContentType()
           
 String getHashAlgorithmName()
           
 List getTransformationList()
           
 List getTransformationSupplements()
           
 boolean isIncludedInSignature()
           
 boolean isReferenceInManifest()
           
 void setFinalContentType(String finalContentType)
          Sets the final content type.
 void setHashAlgorithmName(String hashAlgorithmName)
          Sets the hash algorithm name.
 void setIncludedInSignature(boolean includedInSignature)
          Sets whether the associated DataObject is to be included in the signature.
 void setReferenceInManifest(boolean referenceInManifest)
          Sets whether the associated DataObject is to be included in the dsig:Manifest.
 void setTransformationList(List transformationList)
          Set the list of transformations for the associated DataObject.
 void setTransformationSupplements(List transformationSupplements)
          Sets the transformation supplements for the associated DataObject.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataObjectTreatmentImpl

public DataObjectTreatmentImpl(IdGenerator objIdGen)
Create a new DataObjectTreatmentImpl.
Parameters:
objIdGen - The IdGenerator for unique object IDs.
Method Detail

getFinalContentType

public String getFinalContentType()
Specified by:
getFinalContentType in interface iaik.server.modules.xmlsign.DataObjectTreatment
See Also:
DataObjectTreatment.getFinalContentType()

setFinalContentType

public void setFinalContentType(String finalContentType)
Sets the final content type.
Parameters:
finalContentType - The final content type to set (a MIME-type type of String).

getHashAlgorithmName

public String getHashAlgorithmName()
Specified by:
getHashAlgorithmName in interface iaik.server.modules.xmlsign.DataObjectTreatment
See Also:
DataObjectTreatment.getHashAlgorithmName()

setHashAlgorithmName

public void setHashAlgorithmName(String hashAlgorithmName)
Sets the hash algorithm name.
Parameters:
hashAlgorithmName - The hash algorithm name to set.

isIncludedInSignature

public boolean isIncludedInSignature()
Specified by:
isIncludedInSignature in interface iaik.server.modules.xmlsign.DataObjectTreatment
See Also:
DataObjectTreatment.isIncludedInSignature()

setIncludedInSignature

public void setIncludedInSignature(boolean includedInSignature)
Sets whether the associated DataObject is to be included in the signature.
Parameters:
includedInSignature - If true, the associated DataObject will be included in the signature, otherwise not.

isReferenceInManifest

public boolean isReferenceInManifest()
Specified by:
isReferenceInManifest in interface iaik.server.modules.xmlsign.DataObjectTreatment
See Also:
DataObjectTreatment.isReferenceInManifest()

setReferenceInManifest

public void setReferenceInManifest(boolean referenceInManifest)
Sets whether the associated DataObject is to be included in the dsig:Manifest.
Parameters:
referenceInManifest - If true, the associated DataObject will be included in the manifest, otherwise not.

getTransformationList

public List getTransformationList()
Specified by:
getTransformationList in interface iaik.server.modules.xmlsign.DataObjectTreatment
See Also:
DataObjectTreatment.getTransformationList()

setTransformationList

public void setTransformationList(List transformationList)
Set the list of transformations for the associated DataObject.
Parameters:
transformationList - The transformations to set.

getTransformationSupplements

public List getTransformationSupplements()
Specified by:
getTransformationSupplements in interface iaik.server.modules.xmlsign.DataObjectTreatment
See Also:
DataObjectTreatment.getTransformationSupplements()

setTransformationSupplements

public void setTransformationSupplements(List transformationSupplements)
Sets the transformation supplements for the associated DataObject.
Parameters:
transformationSupplements - The transformation supplements to set.

getDsigDataObjectID

public String getDsigDataObjectID()
Specified by:
getDsigDataObjectID in interface iaik.server.modules.xmlsign.DataObjectTreatment
See Also:
DataObjectTreatment.getDsigDataObjectID()