Package net.sourceforge.pmd.lang.vf.ast
Interface VfTypedNode
-
- All Known Implementing Classes:
ASTIdentifier
,ASTLiteral
public interface VfTypedNode extends VfNode
Represents a node that displays a piece of data.
-
-
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.Node
findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getIndexInParent, getNthParent, getNumChildren, getParentsOfType, getUserData, getUserMap, getXPathAttributesIterator, getXPathNodeName, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData
-
-
-
-
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']
-
-