net.sf.saxon.sort

Class Reverser

public class Reverser extends UnaryExpression

A Reverser is an expression that reverses the order of a sequence of items.
Constructor Summary
Reverser(Expression base)
Method Summary
intcomputeSpecialProperties()
protected StringdisplayOperator(NamePool pool)
Give a string representation of the operator for use in diagnostics
booleaneffectiveBooleanValue(XPathContext context)
SequenceIteratoriterate(XPathContext context)
Expressionpromote(PromotionOffer offer)
Promote this expression if possible

Constructor Detail

Reverser

public Reverser(Expression base)

Method Detail

computeSpecialProperties

public int computeSpecialProperties()

displayOperator

protected String displayOperator(NamePool pool)
Give a string representation of the operator for use in diagnostics

Returns: the operator, as a string

effectiveBooleanValue

public boolean effectiveBooleanValue(XPathContext context)

iterate

public SequenceIterator iterate(XPathContext context)

promote

public Expression promote(PromotionOffer offer)
Promote this expression if possible