Class TransformerParameters


  • public class TransformerParameters
    extends java.lang.Object
    This class is used to pass all parameters expected by the transform method.
    Since:
    11.3.1
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getEncoding()
      Returns the preferred character encoding that the Transformer should use
      int getIndentAmount()
      Returns the indent amount
      java.lang.String getSystemId()
      Returns the system id of the XML
      boolean isOmitDeclaration()
      Indicates whether to omit the XML declaration
      void setEncoding​(java.lang.String encoding)
      Specifies the preferred character encoding that the Transformer should use to encode sequences of characters as sequences of bytes.
      void setIndentAmount​(int indentAmount)
      Specifies the indent amount
      void setOmitDeclaration​(boolean omitDeclaration)
      Specifies whether the XSLT processor should output an XML declaration; the value must be yes or no.
      void setSystemId​(java.lang.String systemId)
      Specifies the system id of the XML.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TransformerParameters

        public TransformerParameters()
    • Method Detail

      • isOmitDeclaration

        public boolean isOmitDeclaration()
        Indicates whether to omit the XML declaration
        Returns:
        The value of whether to omit the XML declaration.
      • setOmitDeclaration

        public void setOmitDeclaration​(boolean omitDeclaration)
        Specifies whether the XSLT processor should output an XML declaration; the value must be yes or no.
        Parameters:
        omitDeclaration - yes or no
      • getIndentAmount

        public int getIndentAmount()
        Returns the indent amount
        Returns:
        indent amount
      • setIndentAmount

        public void setIndentAmount​(int indentAmount)
        Specifies the indent amount
        Parameters:
        indentAmount - The indent amount
      • getEncoding

        public java.lang.String getEncoding()
        Returns the preferred character encoding that the Transformer should use
        Returns:
        The encoding
      • setEncoding

        public void setEncoding​(java.lang.String encoding)
        Specifies the preferred character encoding that the Transformer should use to encode sequences of characters as sequences of bytes.
        See Also:
        for details.
      • getSystemId

        public java.lang.String getSystemId()
        Returns the system id of the XML
        Returns:
        The system id
      • setSystemId

        public void setSystemId​(java.lang.String systemId)
        Specifies the system id of the XML.
        Parameters:
        systemId -