Interface TextNode
-
- All Superinterfaces:
Node
,Reportable
public interface TextNode extends Node
-
-
Field Summary
-
Fields inherited from interface net.sourceforge.pmd.lang.ast.Node
COORDS_COMPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getText()
default String
getXPathNodeName()
Gets the name of the node that is used to match it with XPath queries.-
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node
acceptVisitor, ancestors, ancestors, ancestorsOrSelf, asStream, children, children, compareLocation, descendants, descendants, descendantsOrSelf, firstChild, getAstInfo, getBeginColumn, getBeginLine, getChild, getEndColumn, getEndLine, getFirstChild, getImage, getIndexInParent, getLanguageVersion, getLastChild, getNextSibling, getNumChildren, getParent, getPreviousSibling, getReportLocation, getRoot, getTextDocument, getTextRegion, getUserMap, getXPathAttributesIterator, hasImageEqualTo, isFindBoundary
-
-
-
-
Method Detail
-
getText
String getText()
-
getXPathNodeName
default 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 interfaceNode
- Returns:
- The XPath node name
-
-