Package net.sf.saxon.expr
Class GeneralComparison.GeneralComparisonElaborator
- java.lang.Object
-
- net.sf.saxon.expr.elab.Elaborator
-
- net.sf.saxon.expr.elab.BooleanElaborator
-
- net.sf.saxon.expr.GeneralComparison.GeneralComparisonElaborator
-
- Direct Known Subclasses:
GeneralEqualityEE.GeneralEqualityElaboratorEE
- Enclosing class:
- GeneralComparison
public static class GeneralComparison.GeneralComparisonElaborator extends BooleanElaborator
Elaborator for a general comparison expression such as (A = B).
-
-
Constructor Summary
Constructors Constructor Description GeneralComparisonElaborator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanEvaluator
elaborateForBoolean()
Get a function that evaluates the underlying expression in the form of a boolean, this being the effective boolean value of the expression.boolean
evaluateManyToMany(SequenceIterator iter0, SequenceIterator iter1, int singletonOperator, AtomicComparer comparer, boolean runTimeCheckNeeded, RetainedStaticContext staticContext, Location loc, XPathContext context)
boolean
evaluateManyToOne(SequenceIterator iter0, AtomicValue value1, int singletonOperator, AtomicComparer comparer, boolean runTimeCheckNeeded, RetainedStaticContext staticContext, Location loc, XPathContext context)
-
Methods inherited from class net.sf.saxon.expr.elab.BooleanElaborator
elaborateForItem, elaborateForPull, elaborateForPush, elaborateForUnicodeString
-
Methods inherited from class net.sf.saxon.expr.elab.Elaborator
eagerly, elaborateForString, elaborateForUpdate, getConfiguration, getExpression, handleNullString, handleNullUnicodeString, handlePossiblyNullString, handlePossiblyNullUnicodeString, lazily, setExpression
-
-
-
-
Method Detail
-
elaborateForBoolean
public BooleanEvaluator elaborateForBoolean()
Description copied from class:Elaborator
Get a function that evaluates the underlying expression in the form of a boolean, this being the effective boolean value of the expression.- Specified by:
elaborateForBoolean
in classBooleanElaborator
- Returns:
- an evaluator for the expression that returns a boolean.
-
evaluateManyToOne
public boolean evaluateManyToOne(SequenceIterator iter0, AtomicValue value1, int singletonOperator, AtomicComparer comparer, boolean runTimeCheckNeeded, RetainedStaticContext staticContext, Location loc, XPathContext context) throws XPathException
- Throws:
XPathException
-
evaluateManyToMany
public boolean evaluateManyToMany(SequenceIterator iter0, SequenceIterator iter1, int singletonOperator, AtomicComparer comparer, boolean runTimeCheckNeeded, RetainedStaticContext staticContext, Location loc, XPathContext context) throws XPathException
- Throws:
XPathException
-
-