Class PlainTextLanguage.PlainTextFile

    • Method Detail

      • getTextRegion

        public TextRegion getTextRegion()
        Description copied from interface: Node
        Returns a region of text delimiting the node in the underlying text document. This does not necessarily match the report location.
        Specified by:
        getTextRegion in interface Node
      • getXPathNodeName

        public String getXPathNodeName()
        Description copied from interface: Node
        Gets the name of the node that is used to match it with XPath queries.
        Specified by:
        getXPathNodeName in interface Node
        Returns:
        The XPath node name
      • getImage

        public String getImage()
        Description copied from interface: Node
        Returns a string token, usually filled-in by the parser, which describes some textual characteristic of this node. This is usually an identifier, but you should check that using the Designer. On most nodes though, this method returns null.

        Note: This method will be deprecated in the future (#4787). It will be replaced with methods that have more specific names in node classes. In some cases, there are already alternatives available that should be used.

        Specified by:
        getImage in interface Node