Interface DSSTransform

All Known Implementing Classes:
AbstractTransform, Base64Transform, CanonicalizationTransform, ComplexTransform, EnvelopedSignatureTransform, XPath2FilterEnvelopedSignatureTransform, XPath2FilterTransform, XPathEnvelopedSignatureTransform, XPathTransform, XsltTransform

public interface DSSTransform
  • Method Details

    • getAlgorithm

      String getAlgorithm()
      Returns a particular transformation algorithm name
      Returns:
      String algorithm name of transformation
    • setNamespace

      void setNamespace​(DSSNamespace namespace)
      Specifies a namespace for the transformation elements
      Parameters:
      namespace - DSSNamespace uri
    • getBytesAfterTranformation

      byte[] getBytesAfterTranformation​(Node node, String uri)
      Performs transformation on the given node and returns resulting bytes
      Parameters:
      node - Node to perform transformation on
      uri - String the uri used in a reference to extract the node content
      Returns:
      byte array
    • createTransform

      Element createTransform​(Document document, Element parentNode)
      Creates a Transform element DOM and appends it to the parentNode
      Parameters:
      document - Document to add transform for
      parentNode - Element to append transform to
      Returns:
      created transform Element