Class AbstractTransform
java.lang.Object
eu.europa.esig.dss.xades.reference.AbstractTransform
- All Implemented Interfaces:
DSSTransform
- Direct Known Subclasses:
Base64Transform
,ComplexTransform
,EnvelopedSignatureTransform
public abstract class AbstractTransform extends Object implements DSSTransform
-
Field Summary
Fields Modifier and Type Field Description protected String
algorithm
protected DSSNamespace
namespace
-
Constructor Summary
Constructors Constructor Description AbstractTransform(DSSNamespace xmlDSigNamespace, String algorithm)
AbstractTransform(String algorithm)
-
Method Summary
Modifier and Type Method Description Element
createTransform(Document document, Element parentNode)
Creates a Transform element DOM and appends it to theparentNode
String
getAlgorithm()
Returns a particular transformation algorithm namevoid
setNamespace(DSSNamespace namespace)
Specifies a namespace for the transformation elementsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface eu.europa.esig.dss.xades.reference.DSSTransform
getBytesAfterTranformation
-
Field Details
-
Constructor Details
-
Method Details
-
getAlgorithm
Description copied from interface:DSSTransform
Returns a particular transformation algorithm name- Specified by:
getAlgorithm
in interfaceDSSTransform
- Returns:
String
algorithm name of transformation
-
setNamespace
Description copied from interface:DSSTransform
Specifies a namespace for the transformation elements- Specified by:
setNamespace
in interfaceDSSTransform
- Parameters:
namespace
-DSSNamespace
uri
-
createTransform
Description copied from interface:DSSTransform
Creates a Transform element DOM and appends it to theparentNode
- Specified by:
createTransform
in interfaceDSSTransform
- Parameters:
document
-Document
to add transform forparentNode
-Element
to append transform to- Returns:
- created transform
Element
-