Class AbstractTransform
java.lang.Object
eu.europa.esig.dss.xades.reference.AbstractTransform
- All Implemented Interfaces:
DSSTransform,Serializable
- Direct Known Subclasses:
Base64Transform,ComplexTransform,EnvelopedSignatureTransform,SPDocDigestAsInSpecificationTransform
The abstract implementation of a transform
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final StringThe algorithm url stringprotected DSSNamespaceThe namespace -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractTransform(DSSNamespace xmlDSigNamespace, String algorithm) Constructor with namespaceprotectedAbstractTransform(String algorithm) Default constructor -
Method Summary
Modifier and TypeMethodDescriptioncreateTransform(Document document, Element parentNode) Creates a Transform element DOM and appends it to theparentNodebooleanReturns a particular transformation algorithm nameinthashCode()voidsetNamespace(DSSNamespace namespace) Specifies a namespace for the transformation elementstoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface eu.europa.esig.dss.xades.reference.DSSTransform
performTransform
-
Field Details
-
algorithm
The algorithm url string -
namespace
The namespace
-
-
Constructor Details
-
AbstractTransform
-
AbstractTransform
Constructor with namespace- Parameters:
xmlDSigNamespace-DSSNamespacealgorithm-String
-
-
Method Details
-
getAlgorithm
Description copied from interface:DSSTransformReturns a particular transformation algorithm name- Specified by:
getAlgorithmin interfaceDSSTransform- Returns:
Stringalgorithm name of transformation
-
setNamespace
Description copied from interface:DSSTransformSpecifies a namespace for the transformation elements- Specified by:
setNamespacein interfaceDSSTransform- Parameters:
namespace-DSSNamespaceuri
-
createTransform
Description copied from interface:DSSTransformCreates a Transform element DOM and appends it to theparentNode- Specified by:
createTransformin interfaceDSSTransform- Parameters:
document-Documentto add transform forparentNode-Elementto append transform to- Returns:
- created transform
Element
-
hashCode
-
equals
-
toString
-