Uses of Class
com.ximpleware.VTDNav

Packages that use VTDNav
com.ximpleware   
 

Uses of VTDNav in com.ximpleware
 

Methods in com.ximpleware that return VTDNav
 VTDNav VTDNav.duplicateNav()
          Duplicate the VTDNav instance with shared XML, VTD and LC buffers This method may be useful for parallel XPath evaluation
 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
 VTDNav VTDGen.loadSeparateIndex(java.lang.String XMLFileName, java.lang.String VTDIndexName)
          Load the separate VTD index and XmL file.
 

Methods in com.ximpleware with parameters of type VTDNav
 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 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 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
 void XMLModifier.insertAfterElement(VTDNav vn, int contentOffset, int contentLen)
          This method will first call getCurrentIndex() to get the cursor index value then insert the transcoded array of bytes of a segment of the byte array b after the element the VTDNav object is the container of the XML document in byte array
 void XMLModifier.insertAfterElement(VTDNav vn, long l1)
          This method will first call getCurrentIndex() to get the cursor index value then insert a segment of the byte array b (contained in vn, and transcode into a byte array) after the element, l1 (a long)'s upper 32 bit is length, lower 32 bit is offset
 void XMLModifier.insertAfterHead(VTDNav vn, int contentOffset, int contentLen)
          This method will insert a segment of the byte array b (contained in vn, and transcode into a byte array) after the head of cursor element,
 void XMLModifier.insertAfterHead(VTDNav vn, long l1)
          This method will insert a segment of the byte array b (contained in vn, and transcode into a byte array) after the head of cursor element,
 void XMLModifier.insertBeforeElement(VTDNav vn, int contentOffset, int contentLen)
          This method will first call getCurrentIndex() to get the cursor index value then insert the transcoded representation of a segment of the byte array contained in vn before the element
 void XMLModifier.insertBeforeElement(VTDNav vn, long l)
          This method will first call getCurrentIndex() to get the cursor index value then insert the transcoded representation of a segment of the byte array contained in vn before the element l1 (a long)'s upper 32 bit is length, lower 32 bit is offset
 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.
 void XMLModifier.updateToken(int index, VTDNav vn, int contentOffset, int contentLen)
          Update token with the transcoded representation of a segment of byte array contained in vn (in terms of offset and length)
 

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