com.ximpleware.extended
Class TextIterHuge

java.lang.Object
  extended by com.ximpleware.extended.TextIterHuge

public class TextIterHuge
extends java.lang.Object

This class iterates through all text nodes of an element. VTDNavHuge has getText() which is inadequate for mixed content style of XML. text nodes include character_data and CDATA. This version is adapted to support extended VTD (256GB max file size)


Constructor Summary
TextIterHuge()
          TextIter constructor comment.
 
Method Summary
 int getNext()
          Get the index vals for the text nodes in document order.
 void touch(VTDNavHuge v)
          Obtain the current navigation position and element info from VTDNav.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextIterHuge

public TextIterHuge()
TextIter constructor comment.

Method Detail

getNext

public int getNext()
Get the index vals for the text nodes in document order. Creation date: (12/5/03 6:11:50 PM)

Returns:
int (-1 if no more left)

touch

public void touch(VTDNavHuge v)
Obtain the current navigation position and element info from VTDNav. So one can instantiate it once and use it for many different elements Creation date: (12/5/03 6:20:44 PM)

Parameters:
v - com.ximpleware.VTDNav