org.translet.processor
Class CompoundPredicateExpr

Represents a compound expression involving xpath expressions.
This is a composite of PredicateExpr. A compound
expression can be made up of two other PredicateExpr (either or
both of which can also be another CompoundPredicateExpr).

initialize

Initializes and validates (recursively, if required)
the expression and returns the status about if the
expression can be evaluated.

The values passed on the contextNode and the rules
are also the values that are to be used in evaluating
the expression.

The expression is expected to return at the first
place where the initialization fails. In other words,
if the initialization succeeds, all the expressions
were initialized, but, if it fails, not all expressions
might have been evaluated.