|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.saxon.query.XQueryFunction
public class XQueryFunction
| Field Summary | |
|---|---|
(package private) List |
arguments
|
(package private) Expression |
body
|
(package private) UserFunction |
compiledFunction
|
(package private) String |
displayName
|
(package private) int |
fingerprint
|
(package private) int |
lineNumber
|
(package private) 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
String displayName
List arguments
SequenceType resultType
Expression body
List references
int lineNumber
UserFunction compiledFunction
| Constructor Detail |
|---|
public XQueryFunction()
| Method Detail |
|---|
public int getFunctionFingerprint()
FunctionSignature
getFunctionFingerprint in interface FunctionSignaturepublic SequenceType getResultType()
FunctionSignature
getResultType in interface FunctionSignaturepublic SequenceType[] getArgumentTypes()
FunctionSignature
getArgumentTypes in interface FunctionSignaturepublic int getNumberOfArguments()
FunctionSignature
getNumberOfArguments in interface FunctionSignaturepublic 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 | ||||||||