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 com.jayway.jsonpath.internal.filter.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 boolean
private static final org.slf4j.Logger
private final Path
private final boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasExistsCheck
(boolean shouldExist) getPath()
boolean
boolean
boolean
toString()
Class
<?> Methods inherited from class com.jayway.jsonpath.internal.filter.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:
isPathNode
in classValueNode
-
asPathNode
- Overrides:
asPathNode
in classValueNode
-
asExistsCheck
-
toString
-
evaluate
-