|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExternalModule
An external library module implemented in XQuery and loaded through the "import module" directive.
Method Summary | |
---|---|
void |
declareFunction(UserDefinedFunction func)
Declare a new function. |
void |
declareVariable(QName qname,
VariableDeclaration decl)
|
UserDefinedFunction |
getFunction(QName qname,
int arity)
Try to find the function identified by qname. |
Source |
getSource()
Get the source object this module has been read from. |
boolean |
moduleIsValid()
Is this module still valid or should it be reloaded from its source? |
void |
setContext(XQueryContext context)
Set the XQueryContext of this module. |
void |
setSource(Source source)
Set the source object this module has been read from. |
Methods inherited from interface org.exist.xquery.Module |
---|
declareVariable, declareVariable, getDefaultPrefix, getDescription, getNamespaceURI, getSignaturesForFunction, isInternalModule, isVarDeclared, listFunctions, reset, resolveVariable |
Method Detail |
---|
void declareFunction(UserDefinedFunction func)
func
- UserDefinedFunction getFunction(QName qname, int arity)
qname
- void declareVariable(QName qname, VariableDeclaration decl) throws XPathException
XPathException
Source getSource()
void setSource(Source source)
source
- void setContext(XQueryContext context)
context
- boolean moduleIsValid()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |