net.sf.saxon.query
public class XQueryFunction extends Object implements InstructionInfo, Container, Declaration
Field Summary | |
---|---|
List | arguments |
Expression | body |
int | columnNumber |
int | lineNumber |
NamespaceResolver | namespaceResolver |
List | references |
SequenceType | resultType |
String | systemId |
Constructor Summary | |
---|---|
XQueryFunction() |
Method Summary | |
---|---|
void | checkReferences(StaticContext env)
Type-check references to this function |
UserFunction | compile(StaticQueryContext env) |
void | explain(NamePool pool)
Produce diagnostic output showing the compiled and optimized expression tree for a function |
void | fixupReferences(StaticContext env)
Fix up references to this function |
SequenceType[] | getArgumentTypes() |
int | getColumnNumber()
Return the column number |
int | getConstructType()
Get the type of construct. |
Executable | getExecutable() |
String | getFunctionDisplayName(NamePool pool) |
int | getFunctionFingerprint() |
int | getHostLanguage()
Get the host language (XSLT, XQuery, XPath) used to implement the code in this container |
int | getLineNumber()
Get the line number of the instruction in the source stylesheet module.
|
int | getLineNumber(int locationId) |
LocationProvider | getLocationProvider()
Get the LocationProvider allowing location identifiers to be resolved. |
int | getNameCode() |
NamespaceResolver | getNamespaceResolver()
Get the namespace context of the instruction. |
int | getNumberOfArguments() |
int | getObjectNameCode()
Get a name identifying the object of the expression, for example a function name, template name,
variable name, key name, element name, etc. |
UserFunctionParameter[] | getParameterDefinitions() |
Iterator | getProperties()
Get an iterator over all the properties available. |
Object | getProperty(String name)
Get the value of a particular property of the instruction. |
String | getPublicId()
Return the public identifier for the current document event. |
SequenceType | getResultType() |
StaticContext | getStaticContext() |
String | getSystemId()
Get the system identifier (URI) of the source module containing
the instruction. |
String | getSystemId(int locationId) |
UserFunction | getUserFunction()
Get the callable compiled function contained within this XQueryFunction definition. |
void | registerReference(UserFunctionCall ufc) |
void | setExecutable(Executable exec) |
void | setNameCode(int nameCode) |
Parameters: pool the namepool to be used
Returns: The column number, or -1 if none is available.
See Also: XQueryFunction
Parameters: name The name of the required property
Returns: The value of the requested property, or null if the property is not available
Returns: A string containing the public identifier, or null if none is available.
See Also: XQueryFunction