Package org.rumbledb.items.xml
Class XMLDocumentPosition
java.lang.Object
org.rumbledb.items.xml.XMLDocumentPosition
- All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable
,Serializable
,Comparable<XMLDocumentPosition>
public class XMLDocumentPosition
extends Object
implements Comparable<XMLDocumentPosition>, Serializable, com.esotericsoftware.kryo.KryoSerializable
The `XMLDocumentPosition` class represents the position of an item within an XML document.
It provides information about the document's path and the item's position within the document.
This class is used to ensure the uniqueness and ordering of items across XML documents.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
XMLDocumentPosition
public XMLDocumentPosition() -
XMLDocumentPosition
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) - Specified by:
write
in interfacecom.esotericsoftware.kryo.KryoSerializable
-
read
public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) - Specified by:
read
in interfacecom.esotericsoftware.kryo.KryoSerializable
-
getPath
-
getDocPosition
public int getDocPosition() -
compareTo
- Specified by:
compareTo
in interfaceComparable<XMLDocumentPosition>
-
equals
-
hashCode
public int hashCode()
-