|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectmaiolum.plainxml.indexing.SimpleIndexReader
Provides methods to retrieve IndexItem-s from the underlying index stored in plain textfile by identifiers or other properties.
| Constructor Summary | |
SimpleIndexReader()
|
|
| Method Summary | |
java.lang.String |
getElement(java.lang.String id)
Returns String representation of XML element given by ID. |
java.lang.String |
getFileLocation()
|
IndexItem |
getIndexItem(java.lang.String 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(java.lang.String id)
Returns String representation of next XML element relative to the element given by ID in the document order. |
IndexItem |
getNextIndexItem(java.lang.String id)
|
java.lang.String |
getPreviousElement(java.lang.String id)
Returns String representation of previous XML element relative to the element given by ID in the document order. |
IndexItem |
getPreviousIndexItem(java.lang.String id)
|
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 SimpleIndexReader()
| Method Detail |
public java.lang.String getIndexLocation()
public void setIndexLocation(java.lang.String indexLocation)
public java.lang.String getFileLocation()
public void setFileLocation(java.lang.String fileLocation)
throws IndexIOException
IndexIOException
public java.lang.String getElement(java.lang.String id)
throws IndexIOException
IndexIOException
public java.lang.String getNextElement(java.lang.String id)
throws IndexIOException
IndexIOException
public IndexItem getIndexItem(java.lang.String id)
throws IndexIOException
id -
IndexIOException
public IndexItem getNextIndexItem(java.lang.String id)
throws IndexIOException
IndexIOException
public java.lang.String getPreviousElement(java.lang.String id)
throws IndexIOException
IndexIOException
public IndexItem getPreviousIndexItem(java.lang.String id)
throws IndexIOException
IndexIOException
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 | ||||||||||