|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectmaiolum.plainxml.indexing.IndexReader
Provides methods to retrieve IndexItem-s from the underlying index stored in plain textfile by identifiers or other properties.
| Constructor Summary | |
IndexReader()
|
|
| Method Summary | |
java.lang.String |
getElement(FID id)
Returns String representation of XML element given by ID. |
java.lang.String |
getFileLocation()
|
IndexItem |
getIndexItem(FID id)
Parses from the index a IndexItem which has ID equal to ID given in the String parameter. |
java.lang.String |
getIndexLocation()
|
java.lang.String |
getNextElement(FID id)
Returns String representation of next XML element relative to the element given by ID in the document order. |
FID |
getNextFID(FID fid)
|
IndexItem |
getNextIndexItem(FID fid)
|
java.lang.String |
getPreviousElement(FID fid)
Returns String representation of next XML element relative to the element given by ID in the document order. |
FID |
getPreviousFID(FID fid)
|
IndexItem |
getPreviousIndexItem(FID fid)
|
void |
loadIndex()
|
static void |
main(java.lang.String[] args)
|
void |
setFileLocation(java.lang.String fileLocation)
|
void |
setIndexLocation(java.lang.String indexLocation)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IndexReader()
| Method Detail |
public java.lang.String getIndexLocation()
public void setIndexLocation(java.lang.String indexLocation)
throws IndexIOException
IndexIOException
public void loadIndex()
throws IndexIOException
IndexIOExceptionpublic java.lang.String getFileLocation()
public void setFileLocation(java.lang.String fileLocation)
throws IndexIOException
IndexIOException
public java.lang.String getElement(FID id)
throws IndexIOException
IndexIOException
public java.lang.String getNextElement(FID id)
throws IndexIOException
IndexIOException
public IndexItem getIndexItem(FID id)
throws IndexIOException
id -
IndexIOException
public java.lang.String getPreviousElement(FID fid)
throws IndexIOException
IndexIOException
public IndexItem getPreviousIndexItem(FID fid)
throws IndexIOException
IndexIOException
public IndexItem getNextIndexItem(FID fid)
throws IndexIOException
IndexIOExceptionpublic FID getNextFID(FID fid)
public FID getPreviousFID(FID fid)
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||