Class Node.ScriptingElement

    • Method Detail

      • getText

        public java.lang.String getText()
        When this node was created from a JSP page in JSP syntax, its text was stored as a String in the "text" field, whereas when this node was created from a JSP document, its text was stored as one or more TemplateText nodes in its body. This method handles either case.
        Overrides:
        getText in class Node
        Returns:
        The text string
      • getStart

        public Mark getStart()
        For the same reason as above, the source line information in the contained TemplateText node should be used.
        Overrides:
        getStart in class Node