public class ArrayFunctionSet extends BuiltInFunctionSet
Modifier and Type | Class and Description |
---|---|
static class |
ArrayFunctionSet.ArrayAppend
Implementation of the function array:append(array, item()*) => array
|
static class |
ArrayFunctionSet.ArrayFilter
Implementation of the function array:filter(array, function) => array
|
static class |
ArrayFunctionSet.ArrayFlatten
Implementation of the function array:flatten => item()*
|
static class |
ArrayFunctionSet.ArrayFoldLeft
Implementation of the function array:fold-left(array, item()*, function) => array
|
static class |
ArrayFunctionSet.ArrayFoldRight
Implementation of the function array:fold-left(array, item()*, function) => array
|
static class |
ArrayFunctionSet.ArrayForEach
Implementation of the function array:for-each(array, function) => array
|
static class |
ArrayFunctionSet.ArrayForEachPair
Implementation of the function array:for-each-pair(array, array, function) => array
|
static class |
ArrayFunctionSet.ArrayFromSequence
Implementation of the function array:_from-sequence(item()*) => array(*) which
is used internally for the implementation of array{} and of the saxon:array extension
|
static class |
ArrayFunctionSet.ArrayGet
Implementation of the function array:get(array, xs:integer) => item()*
|
static class |
ArrayFunctionSet.ArrayHead
Implementation of the function array:head(array) => item()*
|
static class |
ArrayFunctionSet.ArrayInsertBefore
Implementation of the function array:insert-before(array, xs:integer, item()*) => array
|
static class |
ArrayFunctionSet.ArrayJoin
Implementation of the function array:join(arrays) => array
|
static class |
ArrayFunctionSet.ArrayPut
Implementation of the function array:put(arrays, index, newValue) => array
|
static class |
ArrayFunctionSet.ArrayRemove
Implementation of the function array:remove(array, xs:integer) => array
|
static class |
ArrayFunctionSet.ArrayReverse
Implementation of the function array:reverse(array, xs:integer, xs:integer) => array
|
static class |
ArrayFunctionSet.ArraySize
Implementation of the function array:size(array) => integer
|
static class |
ArrayFunctionSet.ArraySubarray
Implementation of the function array:subarray(array, xs:integer, xs:integer) => array
|
static class |
ArrayFunctionSet.ArrayTail
Implementation of the function array:tail(array) => item()*
|
static class |
ArrayFunctionSet.ArrayToSequence
Implementation of the function array:_to-sequence(array) => item()* which
is used internally for the implementation of array?*
|
BuiltInFunctionSet.Entry
Modifier and Type | Field and Description |
---|---|
static ArrayFunctionSet |
THE_INSTANCE |
ABS, AS_ARG0, AS_PRIM_ARG0, BASE, CARD0, CDOC, CITEM, CORE, DCOLL, DEPENDS_ON_STATIC_CONTEXT, DLANG, EMPTY, FILTER, FOCUS, HOF, INS, INTERNAL, LAST, LATE, NAV, NEW, NS, ONE, OPT, PLUS, POSN, SIDE, STAR, TRA, UO, USE_WHEN, XPATH30, XPATH31, XQUPDATE, XSLT, XSLT30
Constructor and Description |
---|
ArrayFunctionSet() |
Modifier and Type | Method and Description |
---|---|
static int |
checkSubscript(IntegerValue subscript)
Check that a number proposed for use as a subscript is greater than zero and less than
the maximum subscript allowed by the implementation (2^31-1), returning the value
as a Java int
|
java.lang.String |
getConventionalPrefix()
Return a conventional prefix for use with this namespace, typically
the prefix used in the documentation of these functions.
|
static ArrayFunctionSet |
getInstance() |
java.lang.String |
getNamespace()
Return the namespace URI for the functions local to this function set.
|
bind, copy, getFunctionDetails, getFunctionItem, importFunctionSet, isAvailable, makeFunction, register, registerReducedArityVariants
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConfiguration
public static ArrayFunctionSet THE_INSTANCE
public static ArrayFunctionSet getInstance()
public java.lang.String getNamespace()
BuiltInFunctionSet
getNamespace
in class BuiltInFunctionSet
public java.lang.String getConventionalPrefix()
BuiltInFunctionSet
getConventionalPrefix
in class BuiltInFunctionSet
public static int checkSubscript(IntegerValue subscript) throws XPathException
subscript
- the proposed subscriptXPathException
- if the subscript is 0, negative, or outside the permitted rangeCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.