| Package | Description |
|---|---|
| com.puppycrawl.tools.checkstyle.utils |
Contains utils classes for checkstyle.
|
| com.puppycrawl.tools.checkstyle.xpath |
Contains the nodes implementations for XPATH queries and query generator.
|
| com.puppycrawl.tools.checkstyle.xpath.iterators |
Contains the nodes implementations for XPATH queries and query generator.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<AbstractNode> |
XpathUtil.createChildren(AbstractNode root,
AbstractNode parent,
DetailAST firstChild)
Iterates siblings of the given node and creates new Xpath-nodes.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<AbstractNode> |
XpathUtil.createChildren(AbstractNode root,
AbstractNode parent,
DetailAST firstChild)
Iterates siblings of the given node and creates new Xpath-nodes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AttributeNode
Represents attribute of the element.
|
class |
ElementNode
Represents element node of Xpath-tree.
|
class |
RootNode
Represents root node of Xpath-tree.
|
| Modifier and Type | Field and Description |
|---|---|
private static AbstractNode[] |
RootNode.EMPTY_ABSTRACT_NODE_ARRAY
Constant for optimization.
|
private static AbstractNode[] |
ElementNode.EMPTY_ABSTRACT_NODE_ARRAY
Constant for optimization.
|
private AbstractNode |
ElementNode.parent
The parent of the current node.
|
private AbstractNode |
ElementNode.root
The root node.
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<AbstractNode> |
AbstractNode.children
The children.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<AbstractNode> |
AttributeNode.createChildren()
Creates nodes for children.
|
protected java.util.List<AbstractNode> |
RootNode.createChildren()
Iterates siblings of the current node and
recursively creates new Xpath-nodes.
|
protected abstract java.util.List<AbstractNode> |
AbstractNode.createChildren()
Creates nodes for children.
|
protected java.util.List<AbstractNode> |
ElementNode.createChildren()
Iterates children of the current node and
recursively creates new Xpath-nodes.
|
protected java.util.List<AbstractNode> |
AbstractNode.getChildren()
Getter method for children.
|
private java.util.List<AbstractNode> |
ElementNode.getFollowingSiblings()
Returns following siblings of the current node.
|
private java.util.List<AbstractNode> |
ElementNode.getPrecedingSiblings()
Returns preceding siblings of the current node.
|
| Constructor and Description |
|---|
ElementNode(AbstractNode root,
AbstractNode parent,
DetailAST detailAst,
int depth,
int indexAmongSiblings)
Creates a new
ElementNode instance. |
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<AbstractNode> |
ReverseListIterator.items
List of nodes.
|
| Constructor and Description |
|---|
ReverseListIterator(java.util.List<AbstractNode> items)
Constructor for
ReverseListIterator class. |
Copyright © 2001-2022. All Rights Reserved.