public class EventStAXSplitter
extends java.lang.Object
splitPerformed
method. At the start of the split there will be a callback to splitStart
and then splitPerformed
will be called for every split and then
splitEnd
will be called at the end of the split.Constructor and Description |
---|
EventStAXSplitter(XMLSplitListener listener) |
Modifier and Type | Method and Description |
---|---|
int |
getCurrentBlockIndex() |
void |
split(java.io.InputStream xmlStream,
XPathExpression expr) |
public EventStAXSplitter(XMLSplitListener listener) throws MXException
listener
- the XMLSplitListener implementation.MXException
public void split(java.io.InputStream xmlStream, XPathExpression expr) throws MXException
xmlStream
- the InputStream for the XML.expr
- the xpath expression.java.lang.Exception
MXException
public int getCurrentBlockIndex()