| Modifier and Type | Method and Description |
|---|---|
Node |
ExclusiveSiblingRule.apply(Node node) |
| Modifier and Type | Method and Description |
|---|---|
Node |
ExclusiveSiblingRule.apply(Node node) |
List<Suggestion> |
ExclusiveSiblingRule.getSuggestions(Node node,
ParsingContext context) |
boolean |
ExclusiveSiblingRule.matches(Node node) |
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayWrapperNode |
| Modifier and Type | Method and Description |
|---|---|
Node |
MinPropertiesRule.apply(Node node) |
Node |
MinItemsRule.apply(Node node) |
Node |
MinimumValueRule.apply(Node node) |
Node |
AbstractTypeRule.apply(Node node) |
Node |
NegativeRule.apply(Node node) |
Node |
KeyValueRule.apply(Node node) |
Node |
FieldPresentRule.apply(Node node) |
Node |
MinLengthRule.apply(Node node) |
Node |
ResourceRefRule.apply(Node node) |
Node |
MaxLengthRule.apply(Node node) |
Node |
AnyOfRule.apply(Node node) |
abstract Node |
Rule.apply(Node node)
Applies the rule to the node using the following criteria
- if rule does not match returns an ErrorNode and stops processing
- if rule matches, applies rules to children
- if rule contains a NodeFactory, returns the result of it
- else returns node
Only structure rules (
ObjectRule, ArrayRule, KeyValueRule) replace child nodes. |
Node |
RangeValueRule.apply(Node node) |
Node |
ChildBasedConditionalRule.apply(Node node) |
Node |
FirstOfRule.apply(Node node) |
Node |
DivisorValueRule.apply(Node node) |
Node |
MaximumValueRule.apply(Node node) |
Node |
DateValueRule.apply(Node node) |
Node |
RegexValueRule.apply(Node node) |
Node |
NullValueRule.apply(Node node) |
Node |
MaxPropertiesRule.apply(Node node) |
Node |
ArrayRule.apply(Node node) |
Node |
IntegerValueRule.apply(Node node) |
Node |
AllOfRule.apply(Node node) |
Node |
ObjectRule.apply(Node node) |
Node |
MaxItemsRule.apply(Node node) |
Node |
AnyValueRule.apply(Node node) |
Node |
StringValueRule.apply(Node node) |
Node |
ArrayWrapperNode.copy() |
Node |
ClassNodeFactory.create(Node currentNode,
Object... args) |
Node |
ArrayWrapperFactory.create(Node matchNode,
Object... args) |
Node |
NodeFactory.create(Node currentNode,
Object... args) |
static Node |
ErrorNodeFactory.createBaseRamlNotFound(String location) |
static Node |
ErrorNodeFactory.createInvalidDivisorValue() |
static Node |
ErrorNodeFactory.createInvalidFragmentName(String fragmentText) |
static Node |
ErrorNodeFactory.createInvalidHeader(String header) |
static Node |
ErrorNodeFactory.createInvalidInput(IOException ioe) |
static Node |
ErrorNodeFactory.createInvalidJsonExampleNode(String error) |
static Node |
ErrorNodeFactory.createInvalidMaximumValue(Number maximumValue) |
static Node |
ErrorNodeFactory.createInvalidMaxItems(int maxItems) |
static Node |
ErrorNodeFactory.createInvalidMaxLength(int maxLength) |
static Node |
ErrorNodeFactory.createInvalidMaxProperties(int maxProperties) |
static Node |
ErrorNodeFactory.createInvalidMinimumValue(Number minimumValue) |
static Node |
ErrorNodeFactory.createInvalidMinItems(int minItems) |
static Node |
ErrorNodeFactory.createInvalidMinLength(int minLength) |
static Node |
ErrorNodeFactory.createInvalidMinProperties(int minProperties) |
static Node |
ErrorNodeFactory.createInvalidMultipleOfValue(Number multipleOfValue) |
static Node |
ErrorNodeFactory.createInvalidRangeValue(Number minimumValue,
Number maximumValue) |
static Node |
ErrorNodeFactory.createInvalidSchemaNode(String error) |
static Node |
ErrorNodeFactory.createInvalidSiblingsValue(Node node,
Set<String> siblings) |
static Node |
ErrorNodeFactory.createInvalidType(Node node,
NodeType type) |
static Node |
ErrorNodeFactory.createInvalidValue(Node node,
String expected) |
static Node |
ErrorNodeFactory.createInvalidXmlExampleNode(String error) |
static Node |
ErrorNodeFactory.createMissingAnnotationType(String type) |
static Node |
ErrorNodeFactory.createMissingField(String selector) |
protected Node |
Rule.createNodeUsingFactory(Node currentNode,
Object... args) |
static Node |
ErrorNodeFactory.createRequiredValueNotFound(Node node,
Rule keyRule) |
static Node |
ErrorNodeFactory.createUnsupportedVersion(String version) |
Node |
ParentKeyDefaultValue.getDefaultValue(Node parent) |
Node |
DefaultValue.getDefaultValue(Node parent)
Generates a default value node based on the parent context.
|
Node |
LiteralDefaultValue.getDefaultValue(Node parent) |
protected Node |
ObjectRule.getResult(Node node) |
| Modifier and Type | Method and Description |
|---|---|
List<Node> |
ArrayWrapperNode.getChildren() |
| Modifier and Type | Method and Description |
|---|---|
void |
ArrayWrapperNode.addChild(int idx,
Node newNode) |
void |
ArrayWrapperNode.addChild(Node node) |
Node |
MinPropertiesRule.apply(Node node) |
Node |
MinItemsRule.apply(Node node) |
Node |
MinimumValueRule.apply(Node node) |
Node |
AbstractTypeRule.apply(Node node) |
Node |
NegativeRule.apply(Node node) |
Node |
KeyValueRule.apply(Node node) |
Node |
FieldPresentRule.apply(Node node) |
Node |
MinLengthRule.apply(Node node) |
Node |
ResourceRefRule.apply(Node node) |
Node |
MaxLengthRule.apply(Node node) |
Node |
AnyOfRule.apply(Node node) |
abstract Node |
Rule.apply(Node node)
Applies the rule to the node using the following criteria
- if rule does not match returns an ErrorNode and stops processing
- if rule matches, applies rules to children
- if rule contains a NodeFactory, returns the result of it
- else returns node
Only structure rules (
ObjectRule, ArrayRule, KeyValueRule) replace child nodes. |
Node |
RangeValueRule.apply(Node node) |
Node |
ChildBasedConditionalRule.apply(Node node) |
Node |
FirstOfRule.apply(Node node) |
Node |
DivisorValueRule.apply(Node node) |
Node |
MaximumValueRule.apply(Node node) |
Node |
DateValueRule.apply(Node node) |
Node |
RegexValueRule.apply(Node node) |
Node |
NullValueRule.apply(Node node) |
Node |
MaxPropertiesRule.apply(Node node) |
Node |
ArrayRule.apply(Node node) |
Node |
IntegerValueRule.apply(Node node) |
Node |
AllOfRule.apply(Node node) |
Node |
ObjectRule.apply(Node node) |
Node |
MaxItemsRule.apply(Node node) |
Node |
AnyValueRule.apply(Node node) |
Node |
StringValueRule.apply(Node node) |
void |
KeyValueRule.applyDefault(Node parent) |
Node |
ClassNodeFactory.create(Node currentNode,
Object... args) |
Node |
ArrayWrapperFactory.create(Node matchNode,
Object... args) |
Node |
NodeFactory.create(Node currentNode,
Object... args) |
static ErrorNode |
ErrorNodeFactory.createInvalidArrayElement(Node child) |
static ErrorNode |
ErrorNodeFactory.createInvalidNode(Node child) |
static ErrorNode |
ErrorNodeFactory.createInvalidOverlayNode(Node overlayNode) |
static ErrorNode |
ErrorNodeFactory.createInvalidRootElement(Node rootNode,
String expected) |
static Node |
ErrorNodeFactory.createInvalidSiblingsValue(Node node,
Set<String> siblings) |
static ErrorNode |
ErrorNodeFactory.createInvalidTemplateFunctionExpression(Node node,
String token) |
static ErrorNode |
ErrorNodeFactory.createInvalidTemplateParameterExpression(Node node,
String token) |
static Node |
ErrorNodeFactory.createInvalidType(Node node,
NodeType type) |
static Node |
ErrorNodeFactory.createInvalidValue(Node node,
String expected) |
protected Node |
Rule.createNodeUsingFactory(Node currentNode,
Object... args) |
static Node |
ErrorNodeFactory.createRequiredValueNotFound(Node node,
Rule keyRule) |
static ErrorNode |
ErrorNodeFactory.createUnexpectedKey(Node key,
Collection<String> options) |
ConditionalRules |
ConditionalRules.defaultValue(Node defaultValue)
This method lets you use a value node to match the when clause when there is no other rule that matches.
|
Node |
ParentKeyDefaultValue.getDefaultValue(Node parent) |
Node |
DefaultValue.getDefaultValue(Node parent)
Generates a default value node based on the parent context.
|
Node |
LiteralDefaultValue.getDefaultValue(Node parent) |
List<Suggestion> |
KeyValueRule.getKeySuggestions(Node node,
ParsingContext context) |
Rule |
AnyOfRule.getMatchingRule(Node node) |
Rule |
AllOfRule.getMatchingRule(Node node) |
protected Node |
ObjectRule.getResult(Node node) |
List<KeyValueRule> |
ConditionalRules.getRulesNode(Node node) |
List<Suggestion> |
MinPropertiesRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
MinItemsRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
MinimumValueRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
NegativeRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
KeyValueRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
IntegerTypeRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
FieldPresentRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
MinLengthRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
MaxLengthRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
AnyOfRule.getSuggestions(Node node,
ParsingContext context) |
abstract List<Suggestion> |
Rule.getSuggestions(Node node,
ParsingContext context)
Returns the suggestions of this specific rule
|
List<Suggestion> |
RangeValueRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
ChildBasedConditionalRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
ScalarTypeRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
BooleanTypeRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
FirstOfRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
DivisorValueRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
MaximumValueRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
DateValueRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
StringTypeRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
NumberTypeRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
NumberValueRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
RegexValueRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
NullValueRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
MaxPropertiesRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
ArrayRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
IntegerValueRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
AllOfRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
ObjectRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
MaxItemsRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
AnyValueRule.getSuggestions(Node node,
ParsingContext context) |
List<Suggestion> |
StringValueRule.getSuggestions(Node node,
ParsingContext context) |
boolean |
KeyValueRule.isRequired(Node parent) |
boolean |
RequiredField.isRequiredField(Node parent)
Evaluates if a missing field is required.
|
boolean |
AlwaysRequiredField.isRequiredField(Node parent) |
boolean |
MinPropertiesRule.matches(Node node) |
boolean |
MinItemsRule.matches(Node node) |
boolean |
MinimumValueRule.matches(Node node) |
boolean |
NegativeRule.matches(Node node) |
boolean |
KeyValueRule.matches(Node node) |
boolean |
IntegerTypeRule.matches(Node node) |
boolean |
FieldPresentRule.matches(Node node) |
boolean |
MinLengthRule.matches(Node node) |
boolean |
ResourceRefRule.matches(Node node) |
boolean |
MaxLengthRule.matches(Node node) |
boolean |
AnyOfRule.matches(Node node) |
abstract boolean |
Rule.matches(Node node)
Check if the current rule matches the specified node
|
boolean |
RangeValueRule.matches(Node node) |
boolean |
ChildBasedConditionalRule.matches(Node node) |
boolean |
ScalarTypeRule.matches(Node node) |
boolean |
BooleanTypeRule.matches(Node node) |
boolean |
DivisorValueRule.matches(Node node) |
boolean |
MaximumValueRule.matches(Node node) |
boolean |
DateValueRule.matches(Node node) |
boolean |
StringTypeRule.matches(Node node) |
boolean |
NumberTypeRule.matches(Node node) |
boolean |
NumberValueRule.matches(Node node) |
boolean |
RegexValueRule.matches(Node node) |
boolean |
NullValueRule.matches(Node node) |
boolean |
MaxPropertiesRule.matches(Node node) |
boolean |
ArrayRule.matches(Node node) |
boolean |
IntegerValueRule.matches(Node node) |
boolean |
AllOfRule.matches(Node node) |
boolean |
ConditionalRule.matches(Node node) |
boolean |
ObjectRule.matches(Node node) |
boolean |
MaxItemsRule.matches(Node node) |
boolean |
AnyValueRule.matches(Node node) |
boolean |
StringValueRule.matches(Node node) |
void |
ArrayWrapperNode.removeChild(Node node) |
void |
ArrayWrapperNode.setChild(int idx,
Node newNode) |
| Modifier and Type | Method and Description |
|---|---|
List<Suggestion> |
NegativeRule.getSuggestions(List<Node> pathToRoot,
ParsingContext context) |
List<Suggestion> |
KeyValueRule.getSuggestions(List<Node> pathToRoot,
ParsingContext context) |
List<Suggestion> |
FieldPresentRule.getSuggestions(List<Node> pathToRoot,
ParsingContext context) |
List<Suggestion> |
AnyOfRule.getSuggestions(List<Node> pathToRoot,
ParsingContext context) |
List<Suggestion> |
Rule.getSuggestions(List<Node> pathToRoot,
ParsingContext context)
Returns the list of suggestions after navigating through the path
|
List<Suggestion> |
ChildBasedConditionalRule.getSuggestions(List<Node> pathToRoot,
ParsingContext context) |
List<Suggestion> |
ArrayRule.getSuggestions(List<Node> pathToRoot,
ParsingContext context) |
List<Suggestion> |
AllOfRule.getSuggestions(List<Node> pathToRoot,
ParsingContext context) |
List<Suggestion> |
ObjectRule.getSuggestions(List<Node> pathToRoot,
ParsingContext context) |
KeyValueRule |
KeyValueRule.then(Class<? extends Node> clazz) |
Rule |
Rule.then(Class<? extends Node> clazz)
Sets the clazz of the node that is going to be created to replaced the matched node of this rule.
|
ObjectRule |
ObjectRule.then(Class<? extends Node> clazz) |
| Constructor and Description |
|---|
ArrayWrapperNode(Node child) |
LiteralDefaultValue(Node value) |
| Constructor and Description |
|---|
ClassNodeFactory(Class<? extends Node> clazz) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractNodeModel<T extends Node> |
| Modifier and Type | Field and Description |
|---|---|
protected T |
AbstractNodeModel.node |
| Modifier and Type | Method and Description |
|---|---|
Node |
DefaultNodeBaseModel.getNode() |
Node |
NodeModel.getNode()
The node this model is represented by
|
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
SimpleValueTransformer.adaptTo(Node valueNode,
Class<?> returnType) |
NodeModel |
NodeModelFactory.create(Node node)
The model to create
|
NodeModel |
ClassNodeModelFactory.create(Node node) |
| Constructor and Description |
|---|
DefaultNodeBaseModel(Node node) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ArrayNode |
interface |
BooleanNode |
interface |
ExecutableNode |
interface |
FloatingNode |
interface |
IntegerNode |
interface |
KeyValueNode |
interface |
NullNode |
interface |
ObjectNode |
interface |
ReferenceNode |
interface |
SimpleTypeNode<T> |
interface |
StringNode |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractObjectNode |
class |
AbstractRamlNode |
class |
AbstractStringNode |
class |
BaseNode |
class |
EmptyErrorNode |
class |
ErrorNode |
class |
IncludeErrorNode |
class |
KeyValueNodeImpl |
class |
NullNodeImpl |
class |
ObjectNodeImpl |
class |
StringNodeImpl |
| Modifier and Type | Field and Description |
|---|---|
protected List<Node> |
BaseNode.children |
| Modifier and Type | Method and Description |
|---|---|
<T extends Node> |
BaseNode.findAncestorWith(Class<T> nodeType) |
<T extends Node> |
Node.findAncestorWith(Class<T> nodeType)
Returns the nearest ancestor node that is instance of the specified class
|
<T extends Node> |
BaseNode.findDescendantsWith(Class<T> nodeType) |
<T extends Node> |
Node.findDescendantsWith(Class<T> nodeType)
Returns the list of descendants nodes that are instances of the specified class
|
| Modifier and Type | Method and Description |
|---|---|
Node |
ObjectNodeImpl.copy() |
Node |
ErrorNode.copy() |
Node |
StringNodeImpl.copy() |
Node |
KeyValueNodeImpl.copy() |
Node |
Node.copy()
Creates a new copy of this node
|
Node |
NullNodeImpl.copy() |
Node |
ExecutableNode.execute(ExecutionContext context) |
Node |
BaseNode.get(String selector) |
Node |
Node.get(String selector)
Returns the child node that matches the desired selector or
null if there is no match |
Node |
ContextProviderNode.getContextNode()
Returns the node that defines the naming reference scope for this node.
|
Node |
ExecutionContext.getContextNode() |
Node |
KeyValueNode.getKey() |
Node |
KeyValueNodeImpl.getKey() |
Node |
BaseNode.getParent() |
Node |
Node.getParent()
The parent of this node
|
Node |
ReferenceNode.getRefNode() |
Node |
BaseNode.getRootNode() |
Node |
Node.getRootNode()
The ancestor that does not has any parent.
|
Node |
BaseNode.getSource() |
Node |
Node.getSource()
Return the source of this node.
|
Node |
KeyValueNode.getValue() |
Node |
KeyValueNodeImpl.getValue() |
Node |
ExecutionContext.getVariable(String name) |
| Modifier and Type | Method and Description |
|---|---|
List<Node> |
BaseNode.getChildren() |
List<Node> |
Node.getChildren()
All the children
|
| Modifier and Type | Method and Description |
|---|---|
void |
BaseNode.addChild(int idx,
Node newNode) |
void |
Node.addChild(int idx,
Node newNode)
Adds a child at a specified index.
|
void |
BaseNode.addChild(Node node) |
void |
KeyValueNodeImpl.addChild(Node node) |
void |
Node.addChild(Node node)
Adds a new child.
|
void |
ExecutionContext.addVariable(String name,
Node value) |
static boolean |
DefaultPosition.isDefaultNode(Node node) |
void |
BaseNode.removeChild(Node node) |
void |
Node.removeChild(Node node)
Removes a child.
|
void |
BaseNode.replaceTree(Node newSubTree) |
void |
Node.replaceTree(Node newSubTree)
Replace this subtree with the given one.
|
void |
BaseNode.replaceWith(Node newNode) |
void |
Node.replaceWith(Node newNode)
Replace this node in the tree with a new specialized node.
|
void |
BaseNode.setChild(int idx,
Node newNode) |
void |
Node.setChild(int idx,
Node newNode)
Sets a child at a specified index.
|
void |
BaseNode.setParent(Node parent) |
void |
Node.setParent(Node parent)
Sets the parent node to this node.
|
void |
AbstractRamlNode.setSource(Node source) |
void |
BaseNode.setSource(Node source) |
void |
Node.setSource(Node source)
The source of this node.
|
void |
KeyValueNode.setValue(Node valueNode) |
void |
KeyValueNodeImpl.setValue(Node valueNode) |
| Constructor and Description |
|---|
ExecutionContext(Map<String,Node> parameters,
Node contextNode) |
KeyValueNodeImpl(Node keyNode,
Node valueNode) |
| Constructor and Description |
|---|
ExecutionContext(Map<String,Node> parameters,
Node contextNode) |
| Modifier and Type | Class and Description |
|---|---|
class |
JArrayNode |
class |
JBaseRamlNode |
class |
JBooleanNode |
class |
JFloatingNode |
class |
JIntegerNode |
class |
JNullNode |
class |
JObjectNode |
class |
JStringNode |
| Modifier and Type | Method and Description |
|---|---|
Node |
JFloatingNode.copy() |
Node |
JArrayNode.copy() |
Node |
JBooleanNode.copy() |
Node |
JNullNode.copy() |
Node |
JObjectNode.copy() |
Node |
JStringNode.copy() |
Node |
JIntegerNode.copy() |
static Node |
JNodeParser.parse(ResourceLoader resourceLoader,
String resourcePath,
Reader reader) |
static Node |
JNodeParser.parse(ResourceLoader resourceLoader,
String resourcePath,
String content) |
Node |
JModelWrapper.wrap(com.fasterxml.jackson.databind.JsonNode node) |
| Modifier and Type | Class and Description |
|---|---|
class |
SYArrayNode |
class |
SYBaseRamlNode |
class |
SYBooleanNode |
class |
SYFloatingNode |
class |
SYIncludeNode |
class |
SYIntegerNode |
class |
SYNullNode |
class |
SYObjectNode |
class |
SYStringNode |
| Modifier and Type | Method and Description |
|---|---|
Node |
SYIncludeNode.copy() |
Node |
SYIntegerNode.copy() |
Node |
SYArrayNode.copy() |
Node |
SYObjectNode.copy() |
Node |
SYFloatingNode.copy() |
Node |
SYNullNode.copy() |
Node |
SYBooleanNode.copy() |
Node |
SYStringNode.copy() |
static Node |
NodeParser.parse(ResourceLoader resourceLoader,
String resourcePath,
Reader reader) |
static Node |
NodeParser.parse(ResourceLoader resourceLoader,
String resourcePath,
String content) |
Node |
SYModelWrapper.wrap(org.yaml.snakeyaml.nodes.Node node) |
| Modifier and Type | Method and Description |
|---|---|
Node |
Phase.apply(Node tree) |
Node |
TransformationPhase.apply(Node tree) |
Node |
GrammarPhase.apply(Node node) |
Node |
Transformer.transform(Node node) |
| Modifier and Type | Method and Description |
|---|---|
Node |
Phase.apply(Node tree) |
Node |
TransformationPhase.apply(Node tree) |
Node |
GrammarPhase.apply(Node node) |
boolean |
Transformer.matches(Node node) |
Node |
Transformer.transform(Node node) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Node> |
NodeUtils.getAncestor(Node node,
Class<T> ancestorType) |
static <T extends Node> |
NodeUtils.getSource(Node node,
Class<T> ancestorType) |
| Modifier and Type | Method and Description |
|---|---|
static Node |
NodeUtils.getAncestor(Node node,
int level) |
static Node |
NodeUtils.getContextNode(Node node)
Returns the node that defines the scope for the specified node.
|
static Node |
NodeUtils.getRootSource(Node child) |
static Node |
NodeUtils.getType(Node node) |
static Node |
NodeUtils.searchNodeAt(Node root,
int location) |
static Node |
NodeSelector.selectFrom(String path,
Node from)
Resolves a path in the specified node.
|
static Node |
NodeUtils.traverseToRoot(Node node) |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<Node> |
TreeNodeDumper.getChildren(Node node) |
| Modifier and Type | Method and Description |
|---|---|
static String |
NodeUtils.computeColumnForChild(Node node) |
String |
TreeNodeDumper.dump(Node node) |
protected void |
TreeNodeDumper.dumpChildren(Node node) |
protected void |
TreeNodeDumper.dumpNode(Node node) |
static <T extends Node> |
NodeUtils.getAncestor(Node node,
Class<T> ancestorType) |
static Node |
NodeUtils.getAncestor(Node node,
int level) |
protected Collection<Node> |
TreeNodeDumper.getChildren(Node node) |
static Node |
NodeUtils.getContextNode(Node node)
Returns the node that defines the scope for the specified node.
|
static Node |
NodeUtils.getRootSource(Node child) |
static <T extends Node> |
NodeUtils.getSource(Node node,
Class<T> ancestorType) |
static Node |
NodeUtils.getType(Node node) |
static boolean |
NodeUtils.isErrorResult(Node node) |
static boolean |
NodeUtils.isNull(Node node) |
static Node |
NodeUtils.searchNodeAt(Node root,
int location) |
static Boolean |
NodeSelector.selectBooleanValue(String path,
Node from) |
static Node |
NodeSelector.selectFrom(String path,
Node from)
Resolves a path in the specified node.
|
static Integer |
NodeSelector.selectIntValue(String path,
Node from) |
static Number |
NodeSelector.selectNumberValue(String path,
Node from) |
static List<String> |
NodeSelector.selectStringCollection(String path,
Node from) |
static String |
NodeSelector.selectStringValue(String path,
Node from) |
static <T> T |
NodeSelector.selectType(String path,
Node from,
T defaultValue) |
static Node |
NodeUtils.traverseToRoot(Node node) |
Copyright © 2017. All rights reserved.