ch.ethz.mxquery.extensionsModules.zorbaRest
Class HttpIO
java.lang.Object
ch.ethz.mxquery.model.Iterator
ch.ethz.mxquery.model.CurrentBasedIterator
ch.ethz.mxquery.extensionsModules.zorbaRest.HttpIO
- All Implemented Interfaces:
- RequestTypeMulti, XDMIterator, Traversable
public class HttpIO
- extends CurrentBasedIterator
- implements RequestTypeMulti
Method Summary |
Token |
next()
Produces the next XDM token
This method typically implements the base functionality of an Iterator and
computes the value of the next token. |
void |
setRequestType(java.lang.String type)
|
Methods inherited from class ch.ethz.mxquery.model.Iterator |
addPredicates, close, copy, copyInts, copyIterators, copyQNames, copyStrings, copyTypeInfos, getAllSubIters, getAllSubItersRecursive, getContext, getExpressionCategoryType, getLoc, getPendingUpdateList, getPredicates, getStaticType, getSubIters, hasPredicates, isConstModePreserve, isExprParameter, isOpen, isResettable, removePredicates, reset, setConstModePreserve, setContext, setLoc, setOrderByExpr, setParam, setResettable, setReturnExpr, setSubIters, setSubIters, setSubIters, setWhereExpr, traverse, traverseIteratorTree |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REQUEST_TYPE_GET
public static final int REQUEST_TYPE_GET
- See Also:
- Constant Field Values
REQUEST_TYPE_POST
public static final int REQUEST_TYPE_POST
- See Also:
- Constant Field Values
REQUEST_TYPE_PUT
public static final int REQUEST_TYPE_PUT
- See Also:
- Constant Field Values
REQUEST_TYPE_HEAD
public static final int REQUEST_TYPE_HEAD
- See Also:
- Constant Field Values
REQUEST_TYPE_DELETE
public static final int REQUEST_TYPE_DELETE
- See Also:
- Constant Field Values
HttpIO
public HttpIO()
setRequestType
public void setRequestType(java.lang.String type)
- Specified by:
setRequestType
in interface RequestTypeMulti
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.
- Specified by:
next
in interface XDMIterator
- Returns:
- The XDM token representing the next fragment of the XDM instance
- Throws:
MXQueryException
MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich