gnu.xml.xpath

Class Constant

Implemented Interfaces:
XPathExpression

public final class Constant
extends Expr

Constant value (string literal or number).

Field Summary

Fields inherited from class gnu.xml.xpath.Expr

decimalFormat, documentOrderComparator

Constructor Summary

Constant(Object value)

Method Summary

Expr
clone(Object context)
Object
evaluate(Node context, int pos, int len)
String
toString()

Methods inherited from class gnu.xml.xpath.Expr

_boolean, _id, _local_name, _name, _namespace_uri, _number, _string, clone, evaluate, evaluate, evaluate, evaluate, evaluate, stringValue, stringValue

Constructor Details

Constant

public Constant(Object value)

Method Details

clone

public Expr clone(Object context)
Overrides:
clone in interface Expr


evaluate

public Object evaluate(Node context,
                       int pos,
                       int len)
Overrides:
evaluate in interface Expr


toString

public String toString()