|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.query.XQueryFunction
Field Summary | |
(package private) java.util.List |
arguments
|
(package private) Expression |
body
|
(package private) UserFunction |
compiledFunction
|
(package private) java.lang.String |
displayName
|
(package private) int |
fingerprint
|
(package private) int |
lineNumber
|
(package private) java.util.List |
references
|
(package private) SequenceType |
resultType
|
Constructor Summary | |
XQueryFunction()
|
Method Summary | |
protected static int |
allocateSlots(Expression exp,
int nextFree)
Allocate slot numbers to range variables |
UserFunction |
compile(StaticQueryContext env)
|
void |
explain(NamePool pool)
|
void |
fixupReferences()
Fix up references to this function |
SequenceType[] |
getArgumentTypes()
Get the required types of the arguments to this function, as an array |
int |
getFunctionFingerprint()
Get the name of the function, as a namepool fingerprint |
int |
getNumberOfArguments()
Get the number of arguments (the arity) of the function |
SequenceType |
getResultType()
Get the type of value returned by this function |
void |
registerReference(UserFunctionCall ufc)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
int fingerprint
java.lang.String displayName
java.util.List arguments
SequenceType resultType
Expression body
java.util.List references
int lineNumber
UserFunction compiledFunction
Constructor Detail |
public XQueryFunction()
Method Detail |
public int getFunctionFingerprint()
FunctionSignature
getFunctionFingerprint
in interface FunctionSignature
public SequenceType getResultType()
FunctionSignature
getResultType
in interface FunctionSignature
public SequenceType[] getArgumentTypes()
FunctionSignature
getArgumentTypes
in interface FunctionSignature
public int getNumberOfArguments()
FunctionSignature
getNumberOfArguments
in interface FunctionSignature
public void registerReference(UserFunctionCall ufc)
public UserFunction compile(StaticQueryContext env) throws XPathException
XPathException
public void fixupReferences() throws XPathException
XPathException
protected static int allocateSlots(Expression exp, int nextFree)
public void explain(NamePool pool)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |