public abstract class AbsExpression extends AbsAxis
Template for all expressions.
This class is a template for most complex expressions of the XPath 2.0 language. These expressions work like an axis, as all other XPath 2.0 expressions in this implementation, but the expression is only evaluated once. Therefore the axis returns true only for the first call and false for all others.
Constructor and Description |
---|
AbsExpression(INodeReadTrx rtx)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract AtomicValue |
evaluate()
Performs the expression dependent evaluation of the expression.
|
boolean |
hasNext() |
void |
reset(long mNodeKey) |
addAtomicToItemList, close, getItemList, getNode, getStartKey, isSelfIncluded, iterator, moveTo, next, remove, resetToLastKey, resetToStartKey
public AbsExpression(INodeReadTrx rtx)
rtx
- Exclusive (immutable) trx to iterate with.public boolean hasNext()
public abstract AtomicValue evaluate() throws TTXPathException
TTXPathException
- if evaluation fails.Copyright © 2013. All Rights Reserved.