org.exist.xquery
Interface InternalModule
- All Superinterfaces:
- Module
- All Known Implementing Classes:
- AbstractInternalModule, ExistModule, ModuleImpl, RequestModule, ResponseModule, SessionModule, SystemModule, TextModule, TransformModule, UtilModule, ValidationModule, XMLDBModule
public interface InternalModule
- extends Module
Defines an internal module implemented in Java. The class maintains a collection of
Java classes each being a subclass of Function
. For internal
modules, a new function object is created from its class for each function reference in the
XQuery script.
- Author:
- Wolfgang Meier (wolfgang@exist-db.org)
Method Summary |
FunctionDef |
getFunctionDef(QName qname,
int argCount)
Returns the implementing class for the function identified
by qname or null if it is not defined. |
java.util.List |
getFunctionsByName(QName qname)
Returns all functions defined in this module matching the
specified qname. |
Methods inherited from interface org.exist.xquery.Module |
declareVariable, declareVariable, getDefaultPrefix, getDescription, getNamespaceURI, getSignaturesForFunction, isInternalModule, isVarDeclared, listFunctions, reset, resolveVariable |
getFunctionDef
FunctionDef getFunctionDef(QName qname,
int argCount)
- Returns the implementing class for the function identified
by qname or null if it is not defined. Called by
FunctionFactory
.
- Parameters:
qname
-
- Returns:
getFunctionsByName
java.util.List getFunctionsByName(QName qname)
- Returns all functions defined in this module matching the
specified qname.
- Parameters:
qname
-
- Returns:
Copyright (C) Wolfgang Meier. All rights reserved.