com.saxonica.functions.extfn
Class SubsequenceTestFn.SubsequenceFromFn
java.lang.Object
net.sf.saxon.lib.ExtensionFunctionDefinition
com.saxonica.functions.extfn.SubsequenceTestFn
com.saxonica.functions.extfn.SubsequenceTestFn.SubsequenceFromFn
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- SubsequenceTestFn
public static class SubsequenceTestFn.SubsequenceFromFn
- extends SubsequenceTestFn
Implement saxon:subsequence-from
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubsequenceTestFn.SubsequenceFromFn
public SubsequenceTestFn.SubsequenceFromFn()
getFunctionQName
public StructuredQName getFunctionQName()
- Description copied from class:
ExtensionFunctionDefinition
- Get the name of the function, as a QName.
This method must be implemented in all subclasses
- Specified by:
getFunctionQName
in class ExtensionFunctionDefinition
- Returns:
- the function name
compute
protected SequenceIterator compute(SequenceIterator input,
FunctionItem test,
XPathContext context)
- Description copied from class:
SubsequenceTestFn
- The function that does the work, which must be implemented in subclasses
- Specified by:
compute
in class SubsequenceTestFn
- Parameters:
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 context
- Returns:
- the result
Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.