public class NodeReferenceRule extends StringTypeRule
| Constructor and Description |
|---|
NodeReferenceRule(String referenceKey) |
| Modifier and Type | Method and Description |
|---|---|
Node |
apply(Node node) |
List<Suggestion> |
getSuggestions(Node node,
ParsingContext context) |
boolean |
matches(Node node) |
getDescriptioncleanFactory, createNodeUsingFactory, getChildren, getFactory, getSuggestions, named, ruleName, then, then, toStringpublic NodeReferenceRule(String referenceKey)
@Nonnull public List<Suggestion> getSuggestions(Node node, ParsingContext context)
getSuggestions in class StringTypeRulepublic Node apply(@Nonnull Node node)
apply in class AbstractTypeRulepublic boolean matches(@Nonnull Node node)
matches in class StringTypeRuleCopyright © 2018. All rights reserved.