- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractTransform,Base64Transform,CanonicalizationTransform,ComplexTransform,EnvelopedSignatureTransform,SPDocDigestAsInSpecificationTransform,XPath2FilterEnvelopedSignatureTransform,XPath2FilterTransform,XPathEnvelopedSignatureTransform,XPathTransform,XsltTransform
Defines a transform used for a reference transformations
-
Method Summary
Modifier and TypeMethodDescriptioncreateTransform(Document document, Element parentNode) Creates a Transform element DOM and appends it to theparentNodeReturns a particular transformation algorithm namebyte[]Deprecated.since DSS 5.13.performTransform(DSSTransformOutput transformOutput) Executes a transform on the providedDSSTransformOutputvoidsetNamespace(eu.europa.esig.dss.xml.common.definition.DSSNamespace namespace) Specifies a namespace for the transformation elements
-
Method Details
-
getAlgorithm
String getAlgorithm()Returns a particular transformation algorithm name- Returns:
Stringalgorithm name of transformation
-
setNamespace
void setNamespace(eu.europa.esig.dss.xml.common.definition.DSSNamespace namespace) Specifies a namespace for the transformation elements- Parameters:
namespace-DSSNamespaceuri
-
getBytesAfterTransformation
Deprecated.since DSS 5.13. UseperformTransform(new DSSTransformOutput(node)).getBytes()Performs transformation on the givennodeand returns resulting bytes- Parameters:
node-Nodeto perform transformation on- Returns:
- byte array
-
performTransform
Executes a transform on the providedDSSTransformOutput- Parameters:
transformOutput-DSSTransformOutput- Returns:
DSSTransformOutputafter applying the transform
-
createTransform
Creates a Transform element DOM and appends it to theparentNode
-