|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ucl.xpath.function.Function
org.ucl.xpath.function.FnReverse
Sequence reverse function.
Usage: fn:reverse($arg as item()*) as item()*
This class reverses the order of items in a sequence. If $arg is the empty sequence, the empty sequence is returned.
| Field Summary |
| Fields inherited from class org.ucl.xpath.function.Function |
_arity, _fl, _name |
| Constructor Summary | |
FnReverse()
Constructor for FnReverse. |
|
| Method Summary | |
ResultSequence |
evaluate(java.util.Collection args)
Evaluate the arguments. |
static ResultSequence |
reverse(java.util.Collection args)
Reverse the arguments. |
| Methods inherited from class org.ucl.xpath.function.Function |
arity, convert_argument, convert_arguments, dynamic_context, name, set_function_library, signature, signature, signature, static_context |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FnReverse()
| Method Detail |
public ResultSequence evaluate(java.util.Collection args)
throws DynamicError
evaluate in class Functionargs - are evaluated.
DynamicError - Dynamic error.
public static ResultSequence reverse(java.util.Collection args)
throws DynamicError
args - are reversed.
DynamicError - Dynamic error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||