|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An external library module implemented in XQuery and loaded through the "import module" directive.
| Field Summary |
| Fields inherited from interface org.exist.xquery.Module |
REQUEST_FUNCTION_NS, TEXT_FUNCTION_NS, TRANSFORM_FUNCTION_NS, UTIL_FUNCTION_NS, XMLDB_FUNCTION_NS |
| 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 |
public void declareFunction(UserDefinedFunction func)
func -
public UserDefinedFunction getFunction(QName qname,
int arity)
qname -
public void declareVariable(QName qname,
VariableDeclaration decl)
throws XPathException
XPathExceptionpublic Source getSource()
public void setSource(Source source)
source - public void setContext(XQueryContext context)
context - public boolean moduleIsValid()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||