Class ValueNode
java.lang.Object
com.jayway.jsonpath.internal.filter.ValueNode
- Direct Known Subclasses:
ValueNode.BooleanNode, ValueNode.ClassNode, ValueNode.JsonNode, ValueNode.NullNode, ValueNode.NumberNode, ValueNode.PathNode, ValueNode.PatternNode, ValueNode.PredicateNode, ValueNode.StringNode, ValueNode.UndefinedNode, ValueNode.ValueListNode
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ValueNode.BooleanNodestatic final ValueNode.NullNodestatic final ValueNode.BooleanNodestatic final ValueNode.UndefinedNode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ValueNode.BooleanNodecreateBooleanNode(CharSequence charSequence) static ValueNode.ClassNodecreateClassNode(Class<?> clazz) static ValueNode.JsonNodecreateJsonNode(CharSequence json) static ValueNode.JsonNodecreateJsonNode(Object parsedJson) static ValueNode.NullNodestatic ValueNode.NumberNodecreateNumberNode(CharSequence charSequence) static ValueNodecreatePathNode(Path path) static ValueNode.PathNodecreatePathNode(CharSequence path, boolean existsCheck, boolean shouldExists) static ValueNode.PatternNodecreatePatternNode(CharSequence pattern) static ValueNode.PatternNodecreatePatternNode(Pattern pattern) static ValueNode.StringNodecreateStringNode(CharSequence charSequence, boolean escape) static ValueNode.UndefinedNodebooleanbooleanprivate static booleanbooleanbooleanbooleanprivate static booleanbooleanbooleanbooleanbooleanbooleanbooleanstatic ValueNodeabstract Class<?>
-
Field Details
-
NULL_NODE
-
TRUE
-
FALSE
-
UNDEFINED
-
-
Constructor Details
-
ValueNode
public ValueNode()
-
-
Method Details
-
type
-
isPatternNode
public boolean isPatternNode() -
asPatternNode
-
isPathNode
public boolean isPathNode() -
asPathNode
-
isNumberNode
public boolean isNumberNode() -
asNumberNode
-
isStringNode
public boolean isStringNode() -
asStringNode
-
isBooleanNode
public boolean isBooleanNode() -
asBooleanNode
-
isJsonNode
public boolean isJsonNode() -
asJsonNode
-
isPredicateNode
public boolean isPredicateNode() -
asPredicateNode
-
isValueListNode
public boolean isValueListNode() -
asValueListNode
-
isNullNode
public boolean isNullNode() -
asNullNode
-
asUndefinedNode
-
isUndefinedNode
public boolean isUndefinedNode() -
isClassNode
public boolean isClassNode() -
asClassNode
-
isPath
-
isJson
-
toValueNode
-
createStringNode
-
createClassNode
-
createNumberNode
-
createBooleanNode
-
createNullNode
-
createJsonNode
-
createJsonNode
-
createPatternNode
-
createPatternNode
-
createUndefinedNode
-
createPathNode
public static ValueNode.PathNode createPathNode(CharSequence path, boolean existsCheck, boolean shouldExists) -
createPathNode
-