com.ximpleware.extended
Class TextIterHuge
java.lang.Object
com.ximpleware.extended.TextIterHuge
public class TextIterHuge
- extends 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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
depth
protected int depth
index
protected int index
vn
protected VTDNavHuge vn
TextIterHuge
public TextIterHuge()
- TextIter constructor comment.
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
Copyright © 2013. All Rights Reserved.