Class ValueLiteral
- java.lang.Object
-
- net.thisptr.jackson.jq.internal.tree.literal.ValueLiteral
-
- All Implemented Interfaces:
Expression
- Direct Known Subclasses:
BooleanLiteral
,DoubleLiteral
,LongLiteral
,NullLiteral
,StringLiteral
public abstract class ValueLiteral extends java.lang.Object implements Expression
-
-
Field Summary
Fields Modifier and Type Field Description private com.fasterxml.jackson.databind.JsonNode
value
-
Constructor Summary
Constructors Constructor Description ValueLiteral(com.fasterxml.jackson.databind.JsonNode value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Path ipath, PathOutput output, boolean requirePath)
java.lang.String
toString()
com.fasterxml.jackson.databind.JsonNode
value()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.thisptr.jackson.jq.Expression
apply
-
-
-
-
Method Detail
-
apply
public void apply(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Path ipath, PathOutput output, boolean requirePath) throws JsonQueryException
- Specified by:
apply
in interfaceExpression
- Throws:
JsonQueryException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
value
public com.fasterxml.jackson.databind.JsonNode value()
-
-