psdi.iface.stax

Class EventStAXSplitter

  • java.lang.Object
    • psdi.iface.stax.EventStAXSplitter


  • public class EventStAXSplitter
    extends java.lang.Object
    Splits an XML document based on the supplied xpath. The registered XMLSplitListener implementation will get a callback for every split in the 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.
    • Method Detail

      • split

        public void split(java.io.InputStream xmlStream,
                          XPathExpression expr)
                   throws MXException
        Parameters:
        xmlStream - the InputStream for the XML.
        expr - the xpath expression.
        Throws:
        java.lang.Exception
        MXException
      • getCurrentBlockIndex

        public int getCurrentBlockIndex()