Class ValueNode.PathNode
java.lang.Object
com.jayway.jsonpath.internal.filter.ValueNode
com.jayway.jsonpath.internal.filter.ValueNode.PathNode
- Enclosing class:
ValueNode
-
Nested Class Summary
Nested classes/interfaces inherited from class ValueNode
ValueNode.BooleanNode, ValueNode.ClassNode, ValueNode.JsonNode, ValueNode.NullNode, ValueNode.NumberNode, ValueNode.PathNode, ValueNode.PatternNode, ValueNode.PredicateNode, ValueNode.StringNode, ValueNode.UndefinedNode, ValueNode.ValueListNode -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate static final org.slf4j.Loggerprivate final Pathprivate final boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasExistsCheck(boolean shouldExist) getPath()booleanbooleanbooleantoString()Class<?> Methods inherited from class ValueNode
asBooleanNode, asClassNode, asJsonNode, asNullNode, asNumberNode, asPatternNode, asPredicateNode, asStringNode, asUndefinedNode, asValueListNode, createBooleanNode, createClassNode, createJsonNode, createJsonNode, createNullNode, createNumberNode, createPathNode, createPathNode, createPatternNode, createPatternNode, createStringNode, createUndefinedNode, isBooleanNode, isClassNode, isJsonNode, isNullNode, isNumberNode, isPatternNode, isPredicateNode, isStringNode, isUndefinedNode, isValueListNode, toValueNode
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
path
-
existsCheck
private final boolean existsCheck -
shouldExist
private final boolean shouldExist
-
-
Constructor Details
-
PathNode
PathNode(Path path) -
PathNode
PathNode(CharSequence charSequence, boolean existsCheck, boolean shouldExist) -
PathNode
PathNode(Path path, boolean existsCheck, boolean shouldExist)
-
-
Method Details
-
getPath
-
isExistsCheck
public boolean isExistsCheck() -
shouldExists
public boolean shouldExists() -
type
-
isPathNode
public boolean isPathNode()- Overrides:
isPathNodein classValueNode
-
asPathNode
- Overrides:
asPathNodein classValueNode
-
asExistsCheck
-
toString
-
evaluate
-