Package org.rumbledb.items.xml
Class XMLDocumentPosition
java.lang.Object
org.rumbledb.items.xml.XMLDocumentPosition
- All Implemented Interfaces:
Serializable,Comparable<XMLDocumentPosition>
public class XMLDocumentPosition
extends Object
implements Comparable<XMLDocumentPosition>, Serializable
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 Details
-
XMLDocumentPosition
public XMLDocumentPosition() -
XMLDocumentPosition
-
-
Method Details
-
generateConstructedTreePath
-
getPath
-
getDocPosition
public int getDocPosition() -
compareTo
- Specified by:
compareToin interfaceComparable<XMLDocumentPosition>
-