gnu.xml.xpath

Class Root

Implemented Interfaces:
XPathExpression

public final class Root
extends gnu.xml.xpath.Path

Expression that evaluates to the document root.

Field Summary

Fields inherited from class gnu.xml.xpath.Expr

decimalFormat, documentOrderComparator

Method Summary

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

Methods inherited from class gnu.xml.xpath.Pattern

matches

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

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


matches

public boolean matches(Node node)
Overrides:
matches in interface Pattern


toString

public String toString()