ch.ethz.mxquery.iterators
Class UserdefFuncCallLateBinding
java.lang.Object
ch.ethz.mxquery.model.Iterator
ch.ethz.mxquery.model.CurrentBasedIterator
ch.ethz.mxquery.iterators.UserdefFuncCallLateBinding
- All Implemented Interfaces:
- XDMIterator, Traversable
public class UserdefFuncCallLateBinding
- extends CurrentBasedIterator
Methods inherited from class ch.ethz.mxquery.model.Iterator |
addPredicates, close, copy, copyInts, copyIterators, copyQNames, copyStrings, copyTypeInfos, getAllSubItersRecursive, getContext, getExpressionCategoryType, getLoc, getPredicates, getStaticType, getSubIters, hasPredicates, isConstModePreserve, isExprParameter, isOpen, isResettable, removePredicates, reset, setConstModePreserve, setContext, setLoc, setOrderByExpr, setParam, setReturnExpr, setSubIters, setSubIters, setSubIters, setWhereExpr, traverse, traverseIteratorTree |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserdefFuncCallLateBinding
public UserdefFuncCallLateBinding(Context ctx,
QName name,
int ar)
throws MXQueryException
- Throws:
MXQueryException
lookup
public void lookup()
throws MXQueryException
- Throws:
MXQueryException
next
public Token next()
throws MXQueryException
- Description copied from interface:
XDMIterator
- Produces the next XDM token
This method typically implements the base functionality of an Iterator and
computes the value of the next token.
- Returns:
- The XDM token representing the next fragment of the XDM instance
- Throws:
MXQueryException
setResettable
public void setResettable(boolean r)
throws MXQueryException
- Description copied from interface:
XDMIterator
- Set this Iterator (and its subiterators) resetable.
Resetable iterators may require more space (trading buffered data against recomputation)
- Specified by:
setResettable
in interface XDMIterator
- Overrides:
setResettable
in class Iterator
- Parameters:
r
- true make this iterator resetable, false make it not resetable
- Throws:
MXQueryException
getFunctionName
public QName getFunctionName()
getAllSubIters
public XDMIterator[] getAllSubIters()
- Specified by:
getAllSubIters
in interface XDMIterator
- Overrides:
getAllSubIters
in class Iterator
getResolvedFunc
public UserdefFuncCall getResolvedFunc()
getPendingUpdateList
public PendingUpdateList getPendingUpdateList()
throws MXQueryException
- Description copied from interface:
XDMIterator
- Returns the complete Pending Update List (PUL) of this iterator. Is
null
for non-updating expressions. Since the PUL is computed gradually (especially in a scripting environment, this function should only be called when the evaluation is complete.
For scripting, this function also merges the PULs of the child iterators, so
- Specified by:
getPendingUpdateList
in interface XDMIterator
- Overrides:
getPendingUpdateList
in class Iterator
- Returns:
- pending update list
- Throws:
MXQueryException
MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich