Interface VfTypedNode
-
- All Superinterfaces:
GenericNode<VfNode>
,JjtreeNode<VfNode>
,Node
,Reportable
,TextAvailableNode
,VfNode
- All Known Implementing Classes:
ASTIdentifier
,ASTLiteral
public interface VfTypedNode extends VfNode
Represents a node that displays a piece of data.
-
-
Field Summary
-
Fields inherited from interface net.sourceforge.pmd.lang.ast.Node
COORDS_COMPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataType
getDataType()
Returns the data type this node refers to.-
Methods inherited from interface net.sourceforge.pmd.lang.ast.impl.GenericNode
ancestors, ancestorsOrSelf, asStream, children, descendants, descendantsOrSelf, getChild, getFirstChild, getLastChild, getNextSibling, getParent, getPreviousSibling
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeNode
getFirstToken, getLastToken, tokens
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node
acceptVisitor, ancestors, children, compareLocation, descendants, firstChild, getAstInfo, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getImage, getIndexInParent, getLanguageVersion, getNumChildren, getReportLocation, getRoot, getTextDocument, getUserMap, getXPathAttributesIterator, getXPathNodeName, hasImageEqualTo, isFindBoundary
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.TextAvailableNode
getOriginalText, getText, getTextRegion
-
-
-
-
Method Detail
-
getDataType
DataType getDataType()
Returns the data type this node refers to. A null value indicates that no matching Metadata was found for this node. null differs fromDataType.Unknown
which indicates that Metadata was found but it wasn't mappable to one of the enums.Example XPath 1.0 and 2.0:
//Identifier[@DataType='DateTime']
-
-