Package io.carml.logicalsourceresolver
Class PausableStaxXmlReader
- java.lang.Object
-
- jlibs.xml.sax.BaseXMLReader
-
- jlibs.xml.sax.AbstractXMLReader
-
- io.carml.logicalsourceresolver.PausableStaxXmlReader
-
- All Implemented Interfaces:
XMLReader
public class PausableStaxXmlReader extends jlibs.xml.sax.AbstractXMLReader
-
-
Constructor Summary
Constructors Constructor Description PausableStaxXmlReader()PausableStaxXmlReader(XMLInputFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisCompleted()booleanisPaused()voidparse(String systemId)voidparse(InputSource input)voidpause()voidresume()-
Methods inherited from class jlibs.xml.sax.AbstractXMLReader
getFeature, getProperty, setFeature, setProperty
-
-
-
-
Constructor Detail
-
PausableStaxXmlReader
public PausableStaxXmlReader(XMLInputFactory factory)
-
PausableStaxXmlReader
public PausableStaxXmlReader()
-
-
Method Detail
-
parse
public void parse(InputSource input) throws SAXException
- Throws:
SAXException
-
parse
public void parse(String systemId) throws SAXException
- Throws:
SAXException
-
isPaused
public boolean isPaused()
-
isCompleted
public boolean isCompleted()
-
pause
public void pause()
-
resume
public void resume() throws SAXException, XMLStreamException- Throws:
SAXExceptionXMLStreamException
-
-