gnu.xml.xpath

Class UnionExpr

Implemented Interfaces:
XPathExpression

public final class UnionExpr
extends Pattern

The union of two node-sets.

Field Summary

Fields inherited from class gnu.xml.xpath.Expr

decimalFormat, documentOrderComparator

Constructor Summary

UnionExpr(Expr lhs, Expr rhs)

Method Summary

Expr
clone(Object context)
Object
evaluate(Node context, int pos, int len)
boolean
matches(Node context)
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

Constructor Details

UnionExpr

public UnionExpr(Expr lhs,
                 Expr rhs)

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 context)
Overrides:
matches in interface Pattern


toString

public String toString()