|
||||||||||
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.FnStringLength
Function to calculate string length.
Usage: fn:string-length($arg as xs:string?) as xs:integer
This class returns an xs:integer equal to the length in characters of the value of $arg.
If the value of $arg is the empty sequence, the xs:integer 0 is returned.
Field Summary |
Fields inherited from class org.ucl.xpath.function.Function |
_arity, _fl, _name |
Constructor Summary | |
FnStringLength()
Constructor for FnStringLength |
Method Summary | |
ResultSequence |
evaluate(java.util.Collection args)
Evaluate the arguments. |
static java.util.Collection |
expected_args()
Calculate the expected arguments. |
static ResultSequence |
string_length(java.util.Collection args)
Obtain the string length of 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 FnStringLength()
Method Detail |
public ResultSequence evaluate(java.util.Collection args) throws DynamicError
evaluate
in class Function
args
- are evaluated.
DynamicError
- Dynamic error.public static ResultSequence string_length(java.util.Collection args) throws DynamicError
args
- are used to obtain the string length.
DynamicError
- Dynamic error.public static java.util.Collection expected_args()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |