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 privateStringNode(java.lang.CharSequence charSequence, boolean escape)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueNode.StringNodeasStringNode()booleancontains(java.lang.String str)booleanequals(java.lang.Object o)java.lang.StringgetString()booleanisEmpty()booleanisStringNode()intlength()java.lang.StringtoString()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:
isStringNodein classValueNode
-
asStringNode
public ValueNode.StringNode asStringNode()
- Overrides:
asStringNodein classValueNode
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-