public class OriginalFunction extends AbstractFunction implements Function, ContextOriginator
| Constructor and Description |
|---|
OriginalFunction(Component component) |
| Modifier and Type | Method and Description |
|---|---|
Sequence |
call(XPathContext context,
Sequence[] args)
Invoke the function
|
void |
export(ExpressionPresenter out)
Output information about this function item to the diagnostic explain() output
|
int |
getArity()
Get the arity of the function
|
java.lang.String |
getContainingPackageName()
Get the name of the package containing the function
|
java.lang.String |
getDescription()
Get a description of this function for use in error messages.
|
FunctionItemType |
getFunctionItemType()
Get the item type of the function item
|
StructuredQName |
getFunctionName()
Get the name of the function, or null if it is anonymous
|
atomize, deepEquals, effectiveBooleanValue, getAnnotations, getOperandRoles, getStringValue, getStringValueCS, isArray, isMap, isTrustedResultType, makeNewContext, simplify, typeCheckgetLength, head, isStreamed, itemAt, iterate, reduce, subsequenceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeepEquals, getAnnotations, getOperandRoles, isArray, isMap, isTrustedResultType, iterate, makeNewContextatomize, getStringValue, getStringValueCS, headeffectiveBooleanValue, getLength, getStringValue, getStringValueCS, head, itemAt, reduce, subsequencepublic OriginalFunction(Component component)
public Sequence call(XPathContext context, Sequence[] args) throws XPathException
call in interface Callablecall in interface Functioncontext - the XPath dynamic evaluation contextargs - the actual arguments to be suppliedXPathException - if a dynamic error occurs within the functionpublic FunctionItemType getFunctionItemType()
getFunctionItemType in interface Functionpublic StructuredQName getFunctionName()
getFunctionName in interface Functionpublic int getArity()
public java.lang.String getDescription()
getDescription in interface Functionpublic java.lang.String getContainingPackageName()
public void export(ExpressionPresenter out) throws XPathException
AbstractFunctionexport in interface Functionexport in class AbstractFunctionXPathExceptionCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.