public class NodeUtils extends Object
| Constructor and Description |
|---|
NodeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
computeColumnForChild(Node node) |
static <T extends Node> |
getAncestor(Node node,
Class<T> ancestorType) |
static Node |
getAncestor(Node node,
int level) |
static Node |
getContextNode(Node node)
Returns the node that defines the scope for the specified node.
|
static Node |
getRootSource(Node child) |
static <T extends Node> |
getSource(Node node,
Class<T> ancestorType) |
static Node |
getType(Node node) |
static boolean |
isErrorResult(Node node) |
static boolean |
isNull(Node node) |
static Node |
searchNodeAt(Node root,
int location) |
static Node |
traverseToRoot(Node node) |
Copyright © 2017. All rights reserved.