Class HTMLIndenterPE

  • All Implemented Interfaces:
    javax.xml.transform.Result, Receiver

    public class HTMLIndenterPE
    extends HTMLIndenter
    HTMLIndenter with extra functionality used by Saxon-PE and Saxon-EE
    • Constructor Detail

      • HTMLIndenterPE

        public HTMLIndenterPE​(Receiver next,
                              java.lang.String method)
    • Method Detail

      • setOutputProperties

        public void setOutputProperties​(java.util.Properties props)
        Set the properties for this indenter
        Overrides:
        setOutputProperties in class HTMLIndenter
        Parameters:
        props - the serialization properties
      • getIndentation

        protected int getIndentation()
        Description copied from class: HTMLIndenter
        Get the number of spaces to be used for indentation
        Overrides:
        getIndentation in class HTMLIndenter
        Returns:
        the number of spaces to be added to the indentation for each level
      • getLineLength

        protected int getLineLength()
        Description copied from class: HTMLIndenter
        Get the maximum length of lines, after which long lines will be word-wrapped
        Overrides:
        getLineLength in class HTMLIndenter
        Returns:
        the maximum line length