|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectmaiolum.plainxml.indexing.IndexItem
Represents an item in the XML index;
| Constructor Summary | |
IndexItem(java.lang.String tag,
long startPosition,
long endPosition)
Instantiate new IndexItem with given parameters. |
|
IndexItem(java.lang.String tag,
java.lang.String id,
long startPosition,
long endPosition)
Instantiate new IndexItem with given parameters. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Two IndexItems are equal if all their attributes are equal. |
long |
getEndPosition()
Position of last element character measured in characters from start of the file. |
java.lang.String |
getId()
Identifier of given element. |
long |
getStartPosition()
Position of first element character measured in characters from start of the file. |
java.lang.String |
getTag()
Element name. |
int |
hashCode()
|
java.lang.String |
toString()
Return String representation of this IndexItem. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public IndexItem(java.lang.String tag,
long startPosition,
long endPosition)
tag - Element tag namestartPosition - start position in file measured in charactersendPosition - end position if file measured in characters
public IndexItem(java.lang.String tag,
java.lang.String id,
long startPosition,
long endPosition)
| Method Detail |
public long getEndPosition()
public long getStartPosition()
public java.lang.String getTag()
public java.lang.String getId()
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object o)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||