MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.datamodel
Interface Source

All Known Subinterfaces:
AppendUpdate, FullTextStore, IndexUpdate, MXQueryAppendUpdate, RandomUpdate, StreamStore, UpdateableStore, XMLSource
All Known Implementing Classes:
ComputedCommentConstrIterator, ComputedPIConstrIterator, ComputedTextConstrIterator, False, FIFOStore, FTTokenBufferStore, IndexFIFOStore, IndexInPlaceStore, IndexRandomStore, InPlaceStore, LazyFIFOStore, LazyRandomFIFOStore, LazySequentialFIFOStore, LLStore, NonSchemaValidatingSaxImportAdapter, NonValidatingDOMAdapter, NonValidatingStaxAdapter, RandomFIFOStore, RandomFIFOStoreSchema, RandomStore, SeqFIFOStore, SharedRandomFIFOStore, SharedSeqFIFOStore, TokenBufferStore, TokenIterator, True, UpdateTokenBuffer, ValidatedSaxImportAdapter, WindowBuffer, XDMImportAdapter, XMLAttrIterator, XMLContent, XPPImportAdapter

public interface Source

Interface for sources that can provide nodes with IDs


Method Summary
 int compare(Source store)
           
 Source copySource(Context ctx, java.util.Vector nestedPredCtxStack)
           
 Window getIterator(Context ctx)
          Returns Iterator that points on the first token in the store.
 java.lang.String getURI()
          Returns the URI of the source.
 

Method Detail

compare

int compare(Source store)

getURI

java.lang.String getURI()
Returns the URI of the source.

Returns:
a String representing the URI/Identifier of this source

getIterator

Window getIterator(Context ctx)
                   throws MXQueryException
Returns Iterator that points on the first token in the store.

Returns:
Iterator a (Window) Iterator to access the contents of this source
Throws:
MXQueryException

copySource

Source copySource(Context ctx,
                  java.util.Vector nestedPredCtxStack)
                  throws MXQueryException
Throws:
MXQueryException

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich