|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use VTDNav | |
---|---|
com.ximpleware |
Uses of VTDNav in com.ximpleware |
---|
Methods in com.ximpleware that return VTDNav | |
---|---|
VTDNav |
VTDGen.getNav()
This method returns the VTDNav object after parsing, it also cleans internal state so VTDGen can process the next file. |
VTDNav |
BookMark.getNav()
This method returns the embedded VTDNav Object |
VTDNav |
VTDGen.loadIndex(byte[] ba)
This method loads the VTD+XML from a byte array |
VTDNav |
VTDGen.loadIndex(java.io.InputStream is)
This method loads the VTD+XML from an input stream |
VTDNav |
VTDGen.loadIndex(java.lang.String fileName)
This method loads the VTD+XML from a file |
Methods in com.ximpleware with parameters of type VTDNav | |
---|---|
void |
AutoPilot.bind(VTDNav vnv)
Bind is to replace rebind() and setVTDNav() It resets the internal state of AutoPilot so one can attach a VTDNav object to the autopilot |
void |
XMLModifier.bind(VTDNav masterDocument)
Attach master document to this instance of XMLModifier so all the operations occuring aftewards are based on this instance of VTDNav |
void |
NodeRecorder.bind(VTDNav vn1)
|
void |
BookMark.bind(VTDNav vn)
bind a BookMark object to a VTDNav object the cursor position is set to an invalid state |
int |
VTDNav.compareTokens(int i1,
VTDNav vn2,
int i2)
New in 2.0 This method compares two VTD tokens of VTDNav objects The behavior of this method is like compare the strings corresponds to i1 and i2, meaning for text or attribute val, entities will be converted into the corresponding char |
boolean |
VTDNav.matchTokens(int i1,
VTDNav vn2,
int i2)
This method matches two VTD tokens of VTDNav objects |
boolean |
BookMark.recordCursorPosition(VTDNav vn)
Record the cursor position This method is implemented to be lenient on loading in that it can load nodes from any VTDNav object if vn is null, return false |
boolean |
BookMark.setCursorPosition(VTDNav vn)
set cursor position This method can only set the cursor position of an VTDNav object identical to its internal copy |
void |
TextIter.touch(VTDNav v)
Obtain the current navigation position and element info from VTDNav. |
Constructors in com.ximpleware with parameters of type VTDNav | |
---|---|
AutoPilot(VTDNav v)
AutoPilot constructor comment. |
|
BookMark(VTDNav vn)
BookMark constructor with an instance of vn as input |
|
NodeRecorder(VTDNav vn1)
|
|
XMLModifier(VTDNav masterDocument)
Constructor for XMLModifier that takes VTDNav object as the master document |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |