public class XMLStream
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected class |
XMLStream.MyContentHandler |
protected static class |
XMLStream.MyEntityResolver |
protected class |
XMLStream.MyErrorHandler |
Modifier and Type | Field and Description |
---|---|
protected XMLContext |
currentContext
The current context
|
protected org.xml.sax.SAXParseException |
parseException
The parse exception we saw, if any
|
protected org.xml.sax.XMLReader |
xr
The xml reader object
|
Constructor and Description |
---|
XMLStream()
Default constructor
|
XMLStream(boolean laxChecking)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Call this method to clean up completely after a parse attempt, whether successful or failure.
|
XMLContext |
getContext() |
void |
parse(java.io.InputStream xmlInputStream) |
void |
setContext(XMLContext context) |
protected org.xml.sax.XMLReader xr
protected XMLContext currentContext
protected org.xml.sax.SAXParseException parseException
public XMLStream(boolean laxChecking) throws ManifoldCFException
ManifoldCFException
public XMLStream() throws ManifoldCFException
ManifoldCFException
public void parse(java.io.InputStream xmlInputStream) throws ManifoldCFException, ServiceInterruption, java.io.IOException
ManifoldCFException
ServiceInterruption
java.io.IOException
public void cleanup() throws ManifoldCFException
ManifoldCFException
public void setContext(XMLContext context)
public XMLContext getContext()