public class FNString extends AbsFunction
IAxis that represents the function fn:count specified in XQuery 1.0 and XPath 2.0 Functions and Operators.
The function returns the string value of the current node or the argument nodes.
Constructor and Description |
---|
FNString(INodeReadTrx rtx,
List<AbsAxis> args,
int min,
int max,
int returnType)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected byte[] |
computeResult()
Computes the result value of the function.
|
evaluate, getArgs, reset, varifyParam
hasNext
addAtomicToItemList, close, getItemList, getNode, getStartKey, isSelfIncluded, iterator, moveTo, next, remove, resetToLastKey, resetToStartKey
public FNString(INodeReadTrx rtx, List<AbsAxis> args, int min, int max, int returnType) throws TTXPathException
rtx
- Transaction to operate onargs
- List of function argumentsmin
- min number of allowed function argumentsmax
- max number of allowed function argumentsreturnType
- the type that the function's result will haveTTXPathException
- if function check failsprotected byte[] computeResult()
computeResult
in class AbsFunction
Copyright © 2013. All Rights Reserved.