Package com.github.simy4.xpath.expr
Class LiteralExpr
- java.lang.Object
-
- com.github.simy4.xpath.expr.LiteralExpr
-
- All Implemented Interfaces:
Expr
,java.io.Serializable
public class LiteralExpr extends java.lang.Object implements Expr, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LiteralExpr(java.lang.String literal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <N extends Node>
LiteralView<N>resolve(Navigator<N> navigator, NodeView<N> view, boolean greedy)
Evaluate this expression using given context.java.lang.String
toString()
-
-
-
Method Detail
-
resolve
public <N extends Node> LiteralView<N> resolve(Navigator<N> navigator, NodeView<N> view, boolean greedy)
Description copied from interface:Expr
Evaluate this expression using given context.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-