Class ValueNode.NumberNode
- java.lang.Object
-
- com.jayway.jsonpath.internal.filter.ValueNode
-
- com.jayway.jsonpath.internal.filter.ValueNode.NumberNode
-
-
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
NumberNode(java.lang.CharSequence num)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueNode.NumberNode
asNumberNode()
boolean
equals(java.lang.Object o)
java.math.BigDecimal
getNumber()
boolean
isNumberNode()
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, asPathNode, asPatternNode, asPredicateNode, asStringNode, asUndefinedNode, asValueListNode, createBooleanNode, createClassNode, createJsonNode, createJsonNode, createNullNode, createNumberNode, createPathNode, createPathNode, createPatternNode, createPatternNode, createStringNode, createUndefinedNode, isBooleanNode, isClassNode, isJsonNode, isNullNode, isPathNode, isPatternNode, isPredicateNode, isStringNode, isUndefinedNode, isValueListNode, toValueNode
-
-
-
-
Method Detail
-
getNumber
public java.math.BigDecimal getNumber()
-
type
public java.lang.Class<?> type(Predicate.PredicateContext ctx)
-
isNumberNode
public boolean isNumberNode()
- Overrides:
isNumberNode
in classValueNode
-
asNumberNode
public ValueNode.NumberNode asNumberNode()
- Overrides:
asNumberNode
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
-
-