Uses of Class
com.ximpleware.VTDNav

Packages that use VTDNav
com.ximpleware   
com.ximpleware.xpath   
 

Uses of VTDNav in com.ximpleware
 

Subclasses of VTDNav in com.ximpleware
 class VTDNav_L5
           
 

Fields in com.ximpleware declared as VTDNav
protected  VTDNav XMLModifier.md
           
protected  VTDNav TextIter.vn
           
protected  VTDNav NodeRecorder.vn
           
protected  VTDNav AutoPilot.vn
           
 

Methods in com.ximpleware that return VTDNav
 VTDNav VTDNav_L5.cloneNav()
          Clone the VTDNav instance to get with shared XML, VTD and LC buffers The node position is also copied from the original instance
 VTDNav VTDNav.cloneNav()
          Clone the VTDNav instance to get with shared XML, VTD and LC buffers The node position is also copied from the original instance
 VTDNav VTDNav_L5.duplicateNav()
          Duplicate the VTDNav instance with shared XML, VTD and LC buffers This method may be useful for parallel XPath evaluation The node Position is at root element
 VTDNav VTDNav.duplicateNav()
          Duplicate the VTDNav instance with shared XML, VTD and LC buffers This method may be useful for parallel XPath evaluation The node Position is at root element
 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(InputStream is)
          This method loads the VTD+XML from an input stream
 VTDNav VTDGen.loadIndex(String fileName)
          This method loads the VTD+XML from a file
 VTDNav VTDGen.loadSeparateIndex(String XMLFileName, String VTDIndexName)
          Load the separate VTD index and XmL file.
 VTDNav XMLModifier.outputAndReparse()
          outAndReparse writes updated XML content into a new byte array, then parse and return a new VTDNav object
 

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 BookMark.bind(VTDNav vn)
          bind a BookMark object to a VTDNav object the cursor position is set to an invalid state
 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
 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, return 0 if two tokens are the identical when converted to Unicode String using toString() respectively
 int LocationPathExpr.computeContextSize(Predicate p, VTDNav vn)
           
protected  int LocationPathExpr.computeContextSize4Ancestor(Predicate p, VTDNav vn)
           
protected  int LocationPathExpr.computeContextSize4Ancestor2(Predicate p, VTDNav vn)
           
protected  int LocationPathExpr.computeContextSize4AncestorOrSelf(Predicate p, VTDNav vn)
           
protected  int LocationPathExpr.computeContextSize4AncestorOrSelf2(Predicate p, VTDNav vn)
           
protected  int LocationPathExpr.computeContextSize4Child(Predicate p, VTDNav vn)
           
protected  int LocationPathExpr.computeContextSize4Child2(Predicate p, VTDNav vn)
           
protected  int LocationPathExpr.computeContextSize4DDFP(Predicate p, VTDNav vn)
           
protected  int LocationPathExpr.computeContextSize4DDFP2(Predicate p, VTDNav vn)
           
protected  int LocationPathExpr.computeContextSize4FollowingSibling(Predicate p, VTDNav vn)
           
protected  int LocationPathExpr.computeContextSize4FollowingSibling2(Predicate p, VTDNav vn)
           
protected  int LocationPathExpr.computeContextSize4Parent(Predicate p, VTDNav vn)
           
protected  int LocationPathExpr.computeContextSize4Parent2(Predicate p, VTDNav vn)
           
protected  int LocationPathExpr.computeContextSize4PrecedingSibling(Predicate p, VTDNav vn)
           
protected  int LocationPathExpr.computeContextSize4PrecedingSibling2(Predicate p, VTDNav vn)
           
protected  int LocationPathExpr.computeContextSize4Self(Predicate p, VTDNav vn)
           
protected  int LocationPathExpr.computeContextSize4Self2(Predicate p, VTDNav vn)
           
protected  int Expr.computeDataSize(VTDNav vn)
           
 boolean NodeTest.eval(VTDNav vn)
           
 boolean NodeTest.eval2(VTDNav vn)
           
 boolean UnionExpr.evalBoolean(VTDNav vn)
           
 boolean PathExpr.evalBoolean(VTDNav vn)
           
 boolean LocationPathExpr.evalBoolean(VTDNav vn)
           
 boolean FuncExpr.evalBoolean(VTDNav vn)
           
 boolean FilterExpr.evalBoolean(VTDNav vn)
           
abstract  boolean Expr.evalBoolean(VTDNav vn)
           
 boolean CachedExpr.evalBoolean(VTDNav vn)
           
 boolean BinaryExpr.evalBoolean(VTDNav vn)
           
 int UnionExpr.evalNodeSet(VTDNav vn)
           
 int PathExpr.evalNodeSet(VTDNav vn)
           
 int LocationPathExpr.evalNodeSet(VTDNav vn)
           
 int FunctionalLocationPathExpr.evalNodeSet(VTDNav vn)
           
 int FuncExpr.evalNodeSet(VTDNav vn)
           
 int FilterExpr.evalNodeSet(VTDNav vn)
           
abstract  int Expr.evalNodeSet(VTDNav vn)
           
 int CachedExpr.evalNodeSet(VTDNav vn)
           
 int BinaryExpr.evalNodeSet(VTDNav vn)
           
 double UnionExpr.evalNumber(VTDNav vn)
           
 double PathExpr.evalNumber(VTDNav vn)
           
 double LocationPathExpr.evalNumber(VTDNav vn)
           
 double FuncExpr.evalNumber(VTDNav vn)
           
 double FilterExpr.evalNumber(VTDNav vn)
           
abstract  double Expr.evalNumber(VTDNav vn)
           
 double CachedExpr.evalNumber(VTDNav vn)
           
 double BinaryExpr.evalNumber(VTDNav vn)
           
 String UnionExpr.evalString(VTDNav vn)
           
 String PathExpr.evalString(VTDNav vn)
           
 String LocationPathExpr.evalString(VTDNav vn)
           
 String FuncExpr.evalString(VTDNav vn)
           
 String FilterExpr.evalString(VTDNav vn)
           
abstract  String Expr.evalString(VTDNav vn)
           
 String CachedExpr.evalString(VTDNav vn)
           
 String BinaryExpr.evalString(VTDNav vn)
           
 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
 void XMLModifier.insertBeforeTail(VTDNav vn, int contentOffset, int contentLen)
          This method will insert a segment of the byte array (contained in vn, and transcode into a byte array) before the tail of cursor element,
 void XMLModifier.insertBeforeTail(VTDNav vn, long l1)
          This method will insert a segment of the byte array (contained in vn, and transcode into a byte array) before the tail of cursor 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
protected  int LocationPathExpr.process_ancestor_or_self(VTDNav vn)
           
protected  int LocationPathExpr.process_ancestor_or_self2(VTDNav vn)
           
protected  int LocationPathExpr.process_ancestor(VTDNav vn)
           
protected  int LocationPathExpr.process_ancestor2(VTDNav vn)
           
protected  int LocationPathExpr.process_attribute(VTDNav vn)
           
protected  int LocationPathExpr.process_child(VTDNav vn)
          For processing node tests that are element specific
protected  int LocationPathExpr.process_child2(VTDNav vn)
           
protected  int LocationPathExpr.process_DDFP(VTDNav vn)
           
protected  int LocationPathExpr.process_DDFP2(VTDNav vn)
           
protected  int LocationPathExpr.process_following_sibling(VTDNav vn)
           
protected  int LocationPathExpr.process_following_sibling2(VTDNav vn)
           
protected  int LocationPathExpr.process_namespace(VTDNav vn)
           
protected  int LocationPathExpr.process_parent(VTDNav vn)
           
protected  int LocationPathExpr.process_parent2(VTDNav vn)
           
protected  int LocationPathExpr.process_preceding_sibling(VTDNav vn)
           
protected  int LocationPathExpr.process_preceding_sibling2(VTDNav vn)
           
protected  int LocationPathExpr.process_self(VTDNav vn)
           
protected  int LocationPathExpr.process_self2(VTDNav vn)
           
 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
 void UnionExpr.reset(VTDNav vn)
           
 void PathExpr.reset(VTDNav vn)
           
 void LocationPathExpr.reset(VTDNav vn)
           
 void FuncExpr.reset(VTDNav vn)
           
 void FilterExpr.reset(VTDNav vn)
           
abstract  void Expr.reset(VTDNav vn)
           
 void CachedExpr.reset(VTDNav vn)
           
 void BinaryExpr.reset(VTDNav vn)
           
 void FilterExpr.reset2(VTDNav vn)
           
 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.
protected  void LocationPathExpr.transition_child(VTDNav vn)
           
protected  void LocationPathExpr.transition_DDFP(VTDNav vn)
           
 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
ElementFragment(VTDNav vn1, long l1, FastIntBuffer fib1, int len)
           
ElementFragmentNs(VTDNav vn1, long l1, FastIntBuffer fib1, int len)
           
NodeRecorder(VTDNav vn1)
           
XMLModifier(VTDNav masterDocument)
          Constructor for XMLModifier that takes VTDNav object as the master document
 

Uses of VTDNav in com.ximpleware.xpath
 

Methods in com.ximpleware.xpath with parameters of type VTDNav
 boolean Step.eval(VTDNav vn)
           
 boolean Predicate.eval(VTDNav vn)
           
 boolean LocationPathNode.eval(VTDNav vn)
           
 boolean Step.eval(VTDNav vn, Predicate p)
           
 boolean Step.eval2(VTDNav vn)
           
 boolean Predicate.eval2(VTDNav vn)
           
 boolean Step.eval2(VTDNav vn, Predicate p)
           
 boolean VariableExpr.evalBoolean(VTDNav vn)
           
 boolean UnaryExpr.evalBoolean(VTDNav vn)
           
 boolean NumExpr.evalBoolean(VTDNav vn)
           
 boolean LiteralExpr.evalBoolean(VTDNav vn)
           
 int VariableExpr.evalNodeSet(VTDNav vn)
           
 int UnaryExpr.evalNodeSet(VTDNav vn)
           
 int NumExpr.evalNodeSet(VTDNav vn)
           
 int LiteralExpr.evalNodeSet(VTDNav vn)
           
 double VariableExpr.evalNumber(VTDNav vn)
           
 double UnaryExpr.evalNumber(VTDNav vn)
           
 double NumExpr.evalNumber(VTDNav vn)
           
 double LiteralExpr.evalNumber(VTDNav vn)
           
 boolean Step.evalPredicates(VTDNav vn)
           
 boolean Step.evalPredicates(VTDNav vn, Predicate p)
           
 String VariableExpr.evalString(VTDNav vn)
           
 String UnaryExpr.evalString(VTDNav vn)
           
 String NumExpr.evalString(VTDNav vn)
           
 String LiteralExpr.evalString(VTDNav vn)
           
 void VariableExpr.reset(VTDNav vn)
           
 void UnaryExpr.reset(VTDNav vn)
           
 void Step.reset(VTDNav vn)
           
 void Predicate.reset(VTDNav vn)
           
 void NumExpr.reset(VTDNav vn)
           
 void LiteralExpr.reset(VTDNav vn)
           
 void Alist.reset(VTDNav vn)
           
 void Step.resetP(VTDNav vn)
           
 void Step.resetP(VTDNav vn, Predicate p1)
           
 



Copyright © 2013. All Rights Reserved.