MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.xdmio.xmlAdapters
Class XPPImportAdapter

java.lang.Object
  extended by ch.ethz.mxquery.model.Iterator
      extended by ch.ethz.mxquery.xdmio.xmlAdapters.XDMImportAdapter
          extended by ch.ethz.mxquery.xdmio.xmlAdapters.XPPImportAdapter
All Implemented Interfaces:
Source, XDMIterator, Traversable, XMLSource

public class XPPImportAdapter
extends XDMImportAdapter


Field Summary
 
Fields inherited from interface ch.ethz.mxquery.model.XDMIterator
EXPR_CATEGORY_SEQUENTIAL, EXPR_CATEGORY_SIMPLE, EXPR_CATEGORY_UPDATING, EXPR_CATEGORY_VACUOUS, EXPR_PARAM_CHEAPEVAL, EXPR_PARAM_VARIABLE, EXPR_PARAM_WINDOW, EXPR_PARAM_XDMGEN
 
Constructor Summary
XPPImportAdapter(Context ctx, java.io.Reader xml, boolean doc, QueryLocation location)
           
XPPImportAdapter(Context ctx, org.xmlpull.v1.XmlPullParser pullParser, boolean doc, QueryLocation location)
           
 
Method Summary
 java.lang.String getNS()
           
 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 resetImpl()
          Resets the Iterator to its original state.
 KXmlSerializer traverseIteratorTree(KXmlSerializer serializer)
           
 
Methods inherited from class ch.ethz.mxquery.xdmio.xmlAdapters.XDMImportAdapter
compare, copySource, getIterator, getPublicID, getRootElemDTD, getSystemID, getURI, isIDREF, isIDREFS, isXMLId, setURI
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.ethz.mxquery.model.XDMIterator
close, copy, getAllSubIters, getAllSubItersRecursive, getContext, getExpressionCategoryType, getLoc, getPendingUpdateList, getStaticType, getSubIters, isConstModePreserve, isExprParameter, isOpen, isResettable, reset, setConstModePreserve, setContext, setLoc, setResettable, setSubIters, setSubIters
 
Methods inherited from interface ch.ethz.mxquery.util.Traversable
traverse
 

Constructor Detail

XPPImportAdapter

public XPPImportAdapter(Context ctx,
                        java.io.Reader xml,
                        boolean doc,
                        QueryLocation location)
                 throws MXQueryException
Throws:
MXQueryException

XPPImportAdapter

public XPPImportAdapter(Context ctx,
                        org.xmlpull.v1.XmlPullParser pullParser,
                        boolean doc,
                        QueryLocation location)
                 throws MXQueryException
Throws:
MXQueryException
Method Detail

getNS

public java.lang.String getNS()
                       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

traverseIteratorTree

public KXmlSerializer traverseIteratorTree(KXmlSerializer serializer)
                                    throws java.lang.Exception
Specified by:
traverseIteratorTree in interface XDMIterator
Overrides:
traverseIteratorTree in class Iterator
Throws:
java.lang.Exception

resetImpl

public void resetImpl()
Description copied from class: Iterator
Resets the Iterator to its original state. Iterator-specific implementation is done here.


MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich