Uses of Class
com.puppycrawl.tools.checkstyle.xpath.AbstractNode
Packages that use AbstractNode
Package
Description
Contains utils classes for checkstyle.
Contains the nodes implementations for XPATH queries and query generator.
Contains the nodes implementations for XPATH queries and query generator.
-
Uses of AbstractNode in com.puppycrawl.tools.checkstyle.utils
Methods in com.puppycrawl.tools.checkstyle.utils that return types with arguments of type AbstractNodeModifier and TypeMethodDescriptionstatic List<AbstractNode> XpathUtil.createChildren(AbstractNode root, AbstractNode parent, DetailAST firstChild) Iterates siblings of the given node and creates new Xpath-nodes.Methods in com.puppycrawl.tools.checkstyle.utils with parameters of type AbstractNodeModifier and TypeMethodDescriptionstatic List<AbstractNode> XpathUtil.createChildren(AbstractNode root, AbstractNode parent, DetailAST firstChild) Iterates siblings of the given node and creates new Xpath-nodes. -
Uses of AbstractNode in com.puppycrawl.tools.checkstyle.xpath
Subclasses of AbstractNode in com.puppycrawl.tools.checkstyle.xpathModifier and TypeClassDescriptionclassRepresents attribute of the element.classRepresents element node of Xpath-tree.classRepresents root node of Xpath-tree.Fields in com.puppycrawl.tools.checkstyle.xpath declared as AbstractNodeModifier and TypeFieldDescriptionprivate static final AbstractNode[]ElementNode.EMPTY_ABSTRACT_NODE_ARRAYConstant for optimization.private static final AbstractNode[]RootNode.EMPTY_ABSTRACT_NODE_ARRAYConstant for optimization.private final AbstractNodeElementNode.parentThe parent of the current node.private final AbstractNodeElementNode.rootThe root node.Fields in com.puppycrawl.tools.checkstyle.xpath with type parameters of type AbstractNodeMethods in com.puppycrawl.tools.checkstyle.xpath that return types with arguments of type AbstractNodeModifier and TypeMethodDescriptionprotected abstract List<AbstractNode> AbstractNode.createChildren()Creates nodes for children.protected List<AbstractNode> AttributeNode.createChildren()Creates nodes for children.protected List<AbstractNode> ElementNode.createChildren()Iterates children of the current node and recursively creates new Xpath-nodes.protected List<AbstractNode> RootNode.createChildren()Iterates siblings of the current node and recursively creates new Xpath-nodes.protected List<AbstractNode> AbstractNode.getChildren()Getter method for children.private List<AbstractNode> ElementNode.getFollowingSiblings()Returns following siblings of the current node.private List<AbstractNode> ElementNode.getPrecedingSiblings()Returns preceding siblings of the current node.Constructors in com.puppycrawl.tools.checkstyle.xpath with parameters of type AbstractNodeModifierConstructorDescriptionElementNode(AbstractNode root, AbstractNode parent, DetailAST detailAst, int depth, int indexAmongSiblings) Creates a newElementNodeinstance. -
Uses of AbstractNode in com.puppycrawl.tools.checkstyle.xpath.iterators
Fields in com.puppycrawl.tools.checkstyle.xpath.iterators with type parameters of type AbstractNodeModifier and TypeFieldDescriptionprivate final List<AbstractNode> ReverseListIterator.itemsList of nodes.Constructor parameters in com.puppycrawl.tools.checkstyle.xpath.iterators with type arguments of type AbstractNodeModifierConstructorDescriptionReverseListIterator(List<AbstractNode> items) Constructor forReverseListIteratorclass.