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
ManifoldCFExceptionpublic XMLStream()
throws ManifoldCFException
ManifoldCFExceptionpublic void parse(java.io.InputStream xmlInputStream)
throws ManifoldCFException,
ServiceInterruption,
java.io.IOException
ManifoldCFExceptionServiceInterruptionjava.io.IOExceptionpublic void cleanup()
throws ManifoldCFException
ManifoldCFExceptionpublic void setContext(XMLContext context)
public XMLContext getContext()