public static class SubsequenceTestFn.SubsequenceFromFn extends SubsequenceTestFn
SubsequenceTestFn.SubsequenceAfterFn, SubsequenceTestFn.SubsequenceBeforeFn, SubsequenceTestFn.SubsequenceFromFn, SubsequenceTestFn.SubsequenceUntilFn
Constructor and Description |
---|
SubsequenceTestFn.SubsequenceFromFn() |
Modifier and Type | Method and Description |
---|---|
protected SequenceIterator |
compute(SequenceIterator input,
FunctionItem test,
XPathContext context)
The function that does the work, which must be implemented in subclasses
|
StructuredQName |
getFunctionQName()
Get the name of the function, as a QName.
|
getArgumentTypes, getMaximumNumberOfArguments, getMinimumNumberOfArguments, getResultType, makeCallExpression, trustResultType
dependsOnFocus, hasSideEffects
public StructuredQName getFunctionQName()
ExtensionFunctionDefinition
This method must be implemented in all subclasses
getFunctionQName
in class ExtensionFunctionDefinition
protected SequenceIterator compute(SequenceIterator input, FunctionItem test, XPathContext context)
SubsequenceTestFn
compute
in class SubsequenceTestFn
input
- the input sequencetest
- the function to be applied to the items in the sequence, which takes
an item in the sequence as input and produces a boolean as its resultcontext
- the XPath dynamic contextCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.