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 class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ValueNode.BooleanNode
static final ValueNode.NullNode
static final ValueNode.BooleanNode
static final ValueNode.UndefinedNode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ValueNode.BooleanNode
createBooleanNode
(CharSequence charSequence) static ValueNode.ClassNode
createClassNode
(Class<?> clazz) static ValueNode.JsonNode
createJsonNode
(CharSequence json) static ValueNode.JsonNode
createJsonNode
(Object parsedJson) static ValueNode.NullNode
static ValueNode.NumberNode
createNumberNode
(CharSequence charSequence) static ValueNode
createPathNode
(Path path) static ValueNode.PathNode
createPathNode
(CharSequence path, boolean existsCheck, boolean shouldExists) static ValueNode.PatternNode
createPatternNode
(CharSequence pattern) static ValueNode.PatternNode
createPatternNode
(Pattern pattern) static ValueNode.StringNode
createStringNode
(CharSequence charSequence, boolean escape) static ValueNode.UndefinedNode
boolean
boolean
private static boolean
boolean
boolean
boolean
private static boolean
boolean
boolean
boolean
boolean
boolean
boolean
static ValueNode
abstract 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
-