Class PrettyPrintTransformer

java.lang.Object
eu.europa.esig.dss.xades.signature.PrettyPrintTransformer

public class PrettyPrintTransformer
extends Object
  • Constructor Details

  • Method Details

    • setIndentAmount

      public void setIndentAmount​(int indentAmount)
      Configures the amount of spaces to add
      Parameters:
      indentAmount - int
    • transform

      public Node transform​(Node nodeToTransform)
      Indents the provided nodeToTransform, by keeping the original indents if present
      Parameters:
      nodeToTransform - Node to be indented
      Returns:
      Node with indents