Class Node.Root

  • All Implemented Interfaces:
    TagConstants
    Enclosing class:
    Node

    public static class Node.Root
    extends Node
    Represents the root of a Jsp page or Jsp document
    • Method Detail

      • isXmlSyntax

        public boolean isXmlSyntax()
        Returns whether this JSP page uses XML syntax.
        Returns:
        true if XML syntax is used
      • setJspConfigPageEncoding

        public void setJspConfigPageEncoding​(java.lang.String enc)
        Sets the encoding specified in the JSP config element whose URL pattern matches the page containing this Root.
        Parameters:
        enc - The page encoding from the JSP config
      • getJspConfigPageEncoding

        public java.lang.String getJspConfigPageEncoding()
        Gets the encoding specified in the JSP config element whose URL pattern matches the page containing this Root.
        Returns:
        The page encoding from the JSP config
      • setPageEncoding

        public void setPageEncoding​(java.lang.String enc)
        Sets the encoding of the page.
        Parameters:
        enc - The page encoding
      • getPageEncoding

        public java.lang.String getPageEncoding()
        Returns the encoding of the page.
        Returns:
        The page encoding
      • setIsDefaultPageEncoding

        public void setIsDefaultPageEncoding​(boolean isDefault)
        Sets whether the page encoding is the default encoding.
        Parameters:
        isDefault - true if the page encoding is the default
      • isDefaultPageEncoding

        public boolean isDefaultPageEncoding()
        Returns whether the page encoding is the default encoding.
        Returns:
        true if the page encoding is the default
      • setIsEncodingSpecifiedInProlog

        public void setIsEncodingSpecifiedInProlog​(boolean isSpecified)
        Sets whether the encoding is specified in the prolog.
        Parameters:
        isSpecified - true if the encoding is specified in the prolog
      • isEncodingSpecifiedInProlog

        public boolean isEncodingSpecifiedInProlog()
        Returns whether the encoding is specified in the prolog.
        Returns:
        true if the encoding is specified in the prolog
      • setIsBomPresent

        public void setIsBomPresent​(boolean isBom)
        Sets whether a BOM (Byte Order Mark) is present.
        Parameters:
        isBom - true if a BOM is present
      • isBomPresent

        public boolean isBomPresent()
        Returns whether a BOM (Byte Order Mark) is present.
        Returns:
        true if a BOM is present
      • nextTemporaryVariableName

        public java.lang.String nextTemporaryVariableName()
        Generates a new temporary variable name.
        Returns:
        The name to use for the temporary variable