Class ValueNode
java.lang.Object
com.jayway.jsonpath.internal.filter.ValueNode
- Direct Known Subclasses:
ValueNodes.BooleanNode,ValueNodes.ClassNode,ValueNodes.JsonNode,ValueNodes.NullNode,ValueNodes.NumberNode,ValueNodes.OffsetDateTimeNode,ValueNodes.PathNode,ValueNodes.PatternNode,ValueNodes.PredicateNode,ValueNodes.StringNode,ValueNodes.UndefinedNode,ValueNodes.ValueListNode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ValueNodes.BooleanNodecreateBooleanNode(CharSequence charSequence) static ValueNodes.ClassNodecreateClassNode(Class<?> clazz) static ValueNodes.JsonNodecreateJsonNode(CharSequence json) static ValueNodes.JsonNodecreateJsonNode(Object parsedJson) static ValueNodes.NullNodestatic ValueNodes.NumberNodecreateNumberNode(CharSequence charSequence) createOffsetDateTimeNode(CharSequence charSequence) static ValueNodecreatePathNode(Path path) static ValueNodes.PathNodecreatePathNode(CharSequence path, boolean existsCheck, boolean shouldExists) static ValueNodes.PatternNodecreatePatternNode(CharSequence pattern) static ValueNodes.PatternNodecreatePatternNode(Pattern pattern) static ValueNodes.StringNodecreateStringNode(CharSequence charSequence, boolean escape) static ValueNodes.UndefinedNodebooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanstatic ValueNodeabstract Class<?>
-
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
-
isOffsetDateTimeNode
public boolean isOffsetDateTimeNode() -
asOffsetDateTimeNode
-
toValueNode
-
createStringNode
-
createClassNode
-
createNumberNode
-
createBooleanNode
-
createNullNode
-
createJsonNode
-
createJsonNode
-
createPatternNode
-
createPatternNode
-
createOffsetDateTimeNode
-
createUndefinedNode
-
createPathNode
public static ValueNodes.PathNode createPathNode(CharSequence path, boolean existsCheck, boolean shouldExists) -
createPathNode
-