|
MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.ethz.mxquery.functions.Function
public class Function
Holds information on the function metadata and methods to retrieve the implementation, either by an explicit iterator or by the name of a class to load
Constructor Summary | |
---|---|
Function(java.lang.String className,
FunctionSignature signature,
XDMIterator iter)
|
Method Summary | |
---|---|
Function |
copy(Context context,
java.util.Vector nestedPredCtxStack)
Create a copy of this function |
Function |
getAsExternalFunction(java.lang.String prefix)
Adapts the signature of the function to become an external class |
XDMIterator |
getFunctionImplementation(Context targetContext)
Returns an implementation of this function as an iterator. |
FunctionSignature |
getFunctionSignature()
Get the signature of this function |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Function(java.lang.String className, FunctionSignature signature, XDMIterator iter)
Method Detail |
---|
public Function getAsExternalFunction(java.lang.String prefix)
prefix
- The namespace prefix in which the function should appear
public XDMIterator getFunctionImplementation(Context targetContext) throws MXQueryException
MXQueryException
public FunctionSignature getFunctionSignature() throws MXQueryException
MXQueryException
public Function copy(Context context, java.util.Vector nestedPredCtxStack) throws MXQueryException
context
- nestedPredCtxStack
-
MXQueryException
|
MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |