|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ximpleware.extended.BookMarkHuge
public class BookMarkHuge
BookmarkHue is a single instance of a node position. You can save the cursor's position into a BookMarkHuge instance You can also point the cursor to the node position of previously saved BookMarkHuge instance.
| Constructor Summary | |
|---|---|
BookMarkHuge()
Constructor for BookMarkHuge Take no argument |
|
BookMarkHuge(VTDNavHuge vn)
BookMarkHuge constructor with an instance of vn as input |
|
| Method Summary | |
|---|---|
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(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 |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BookMarkHuge()
public BookMarkHuge(VTDNavHuge vn)
vn - | Method Detail |
|---|
public void unbind()
public void bind(VTDNavHuge vn)
vn - public VTDNavHuge getNav()
public boolean setCursorPosition(VTDNavHuge vn)
vn -
public boolean setCursorPosition()
public boolean recordCursorPosition(VTDNavHuge vn)
vn -
public boolean recordCursorPosition()
public final boolean deepEquals(BookMarkHuge bm2)
bm2 -
public final boolean equals(BookMarkHuge bm2)
bm2 -
public final boolean equals(Object obj)
equals in class Objectpublic final int hashCode()
hashCode in class Objectpublic boolean compare(BookMarkHuge bm1)
bm1 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||