Class ValueNode.StringNode
- java.lang.Object
-
- com.jayway.jsonpath.internal.filter.ValueNode
-
- com.jayway.jsonpath.internal.filter.ValueNode.StringNode
-
-
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
-
-
Constructor Summary
Constructors Modifier Constructor Description private
StringNode(java.lang.CharSequence charSequence, boolean escape)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueNode.StringNode
asStringNode()
boolean
contains(java.lang.String str)
boolean
equals(java.lang.Object o)
java.lang.String
getString()
boolean
isEmpty()
boolean
isStringNode()
int
length()
java.lang.String
toString()
java.lang.Class<?>
type(Predicate.PredicateContext ctx)
-
Methods inherited from class com.jayway.jsonpath.internal.filter.ValueNode
asBooleanNode, asClassNode, asJsonNode, asNullNode, asNumberNode, asPathNode, asPatternNode, asPredicateNode, asUndefinedNode, asValueListNode, createBooleanNode, createClassNode, createJsonNode, createJsonNode, createNullNode, createNumberNode, createPathNode, createPathNode, createPatternNode, createPatternNode, createStringNode, createUndefinedNode, isBooleanNode, isClassNode, isJsonNode, isNullNode, isNumberNode, isPathNode, isPatternNode, isPredicateNode, isUndefinedNode, isValueListNode, toValueNode
-
-
-
-
Method Detail
-
getString
public java.lang.String getString()
-
length
public int length()
-
isEmpty
public boolean isEmpty()
-
contains
public boolean contains(java.lang.String str)
-
type
public java.lang.Class<?> type(Predicate.PredicateContext ctx)
-
isStringNode
public boolean isStringNode()
- Overrides:
isStringNode
in classValueNode
-
asStringNode
public ValueNode.StringNode asStringNode()
- Overrides:
asStringNode
in classValueNode
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-