public class BookMarkHuge
extends java.lang.Object
Constructor and Description |
---|
BookMarkHuge()
Constructor for BookMarkHuge
Take no argument
|
BookMarkHuge(VTDNavHuge vn)
BookMarkHuge constructor with an instance of vn
as input
|
Modifier and Type | Method and Description |
---|---|
void |
bind(VTDNavHuge vn)
bind a BookMarkHuge object to a VTDNavHuge object
the cursor position is set to an invalid state
|
boolean |
compare(BookMarkHuge bm1)
Compare the node positions of two bookMarkHuge objects
|
boolean |
deepEquals(BookMarkHuge bm2)
Compare the bookmarks to ensure they represent the same
node in the same VTDNavHuge instance
|
boolean |
equals(BookMarkHuge bm2)
Compare the bookmarks to ensure they represent the same
node in the same VTDNavHuge instance
|
boolean |
equals(java.lang.Object obj)
Compare two bookmarks to ensure they represent the same
node in the same VTDNavHuge instance
|
VTDNavHuge |
getNav()
This method returns the embedded VTDNavHuge Object
|
int |
hashCode()
Returns the hash code which is a unique integer for every node
|
boolean |
recordCursorPosition()
Record cursor position of the VTDNavHuge object as embedded in the
bookmark
|
boolean |
recordCursorPosition(VTDNavHuge vn)
Record the cursor position
This method is implemented to be lenient on loading in
that it can load nodes from any VTDNavHuge object
if vn is null, return false
|
boolean |
setCursorPosition()
Set the cursor position of VTDNavHuge object corresponding to the internal reference
position of the embedded VTDNavHuge object
|
boolean |
setCursorPosition(VTDNavHuge vn)
set cursor position
This method can only set the cursor position
of an VTDNavHuge object identical to its internal copy
|
void |
unbind()
separate a bookMark object apart from its embedded
VTDNavHuge instance
|
public BookMarkHuge()
public BookMarkHuge(VTDNavHuge vn)
vn
- public void bind(VTDNavHuge vn)
vn
- public boolean compare(BookMarkHuge bm1)
bm1
- public final boolean deepEquals(BookMarkHuge bm2)
bm2
- public final boolean equals(BookMarkHuge bm2)
bm2
- public final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public VTDNavHuge getNav()
public final int hashCode()
hashCode
in class java.lang.Object
public boolean recordCursorPosition()
public boolean recordCursorPosition(VTDNavHuge vn)
vn
- public boolean setCursorPosition()
public boolean setCursorPosition(VTDNavHuge vn)
vn
- public void unbind()