Uses of Class
com.ximpleware.NavException

Packages that use NavException
com.ximpleware   
 

Uses of NavException in com.ximpleware
 

Methods in com.ximpleware that throw NavException
 int VTDNav.compareRawTokenString(int index, java.lang.String s)
          New in 2.0 Compare the string against the token at the given index value.
 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
 int VTDNav.compareTokenString(int index, java.lang.String s)
          New in 2.0 Compare the string against the token at the given index value.
 int AutoPilot.evalXPath()
          This method returns the next node in the nodeset it returns -1 if there is no more node Afer finishing evaluating, don't forget to reset the xpath
 int VTDNav.getAttrVal(java.lang.String an)
          Get the token index of the attribute value given an attribute name.
 int VTDNav.getAttrValNS(java.lang.String URL, java.lang.String ln)
          Get the token index of the attribute value of given URL and local name.
 long VTDNav.getElementFragment()
          Get the starting offset and length of an element encoded in a long, upper 32 bits is length; lower 32 bits is offset Unit is in byte.
 ElementFragmentNs VTDNav.getElementFragmentNs()
          getElementFragmentNS returns a ns aware version of the element fragment encapsulated in an ElementFragment object
 boolean VTDNav.hasAttr(java.lang.String an)
          Test whether current element has an attribute with the matching name.
 boolean VTDNav.hasAttrNS(java.lang.String URL, java.lang.String ln)
          Test whether the current element has an attribute with matching namespace URL and localname.
 void XMLModifier.insertAfterElement(byte[] b)
          This method will first call getCurrentIndex() to get the cursor index value then insert the byte array b after the element
 void XMLModifier.insertAfterElement(byte[] b, int contentOffset, int contentLen)
          This method will first call getCurrentIndex() to get the cursor index value then insert a segment of the byte array b after the element
 void XMLModifier.insertAfterElement(byte[] b, long l1)
          This method will first call getCurrentIndex() to get the cursor index value then insert a segment of the byte array b after the element, l1 (a long)'s upper 32 bit is length, lower 32 bit is offset
 void XMLModifier.insertAfterElement(ElementFragmentNs ef)
          Insert a namespace compensated element after cursor element
 void XMLModifier.insertAfterElement(java.lang.String s)
          This method will first call getCurrentIndex() to get the cursor index value then insert the byte value of s after the element
 boolean AutoPilot.iterate()
          Iterate over all the selected element nodes in document order.
 boolean VTDNav.matchElement(java.lang.String en)
          Test if the current element matches the given name.
 boolean VTDNav.matchElementNS(java.lang.String URL, java.lang.String ln)
          Test whether the current element matches the given namespace URL and localname.
 boolean VTDNav.matchRawTokenString(int index, java.lang.String s)
          Match the string against the token at the given index value.
 boolean VTDNav.matchTokens(int i1, VTDNav vn2, int i2)
          This method matches two VTD tokens of VTDNav objects
 boolean VTDNav.matchTokenString(int index, java.lang.String s)
          Match the string against the token at the given index value.
 double VTDNav.parseDouble(int index)
          Convert a vtd token into a double.
 float VTDNav.parseFloat(int index)
          Convert a vtd token into a float.
 int VTDNav.parseInt(int index)
          Convert a vtd token into an int.
 long VTDNav.parseLong(int index)
          Convert a vtd token into a long.
 void XMLModifier.remove()
          Removes content from the master XML document It first calls getCurrentIndex() if the result is a starting tag, then the entire element referred to by the starting tag is removed If the result is an attribute name or ns node, then the corresponding attribute name/value pair is removed If the token type is one of text, CDATA or commment, then the entire node, including the starting and ending delimiting text surrounding the content, is removed
 void XMLModifier.remove(long l)
          Remove a byte segment from XML.
 boolean VTDNav.toElement(int direction)
          A generic navigation method.
 boolean VTDNav.toElement(int direction, java.lang.String en)
          A generic navigation method.
 boolean VTDNav.toElementNS(int direction, java.lang.String URL, java.lang.String ln)
          A generic navigation method with namespace support.
 java.lang.String VTDNav.toNormalizedString(int index)
          This method normalizes a token into a string in a way that resembles DOM.
 java.lang.String VTDNav.toRawString(int index)
          Convert a token at the given index to a String, (built-in entity and char references not resolved) (entities and char references not expanded).
 java.lang.String VTDNav.toRawString(int os, int len)
           
 java.lang.String VTDNav.toString(int index)
          Convert a token at the given index to a String, (entities and char references resolved).
 java.lang.String VTDNav.toString(int os, int len)
          Convert the byte content segment (in terms of offset and length) to String
 void XMLModifier.updateElementName(java.lang.String newElementName)
          Replace the cursor element's name with a new name