|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.manifoldcf.agents.common.XMLStream
public class XMLStream
This object allows easier control of an XML parsing stream than does standard SAX.
| Nested Class Summary | |
|---|---|
protected class |
XMLStream.MyContentHandler
|
protected static class |
XMLStream.MyEntityResolver
|
protected class |
XMLStream.MyErrorHandler
|
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
XMLStream()
Default constructor |
|
XMLStream(boolean laxChecking)
Constructor. |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.xml.sax.XMLReader xr
protected XMLContext currentContext
protected org.xml.sax.SAXParseException parseException
| Constructor Detail |
|---|
public XMLStream(boolean laxChecking)
throws ManifoldCFException
ManifoldCFException
public XMLStream()
throws ManifoldCFException
ManifoldCFException| Method Detail |
|---|
public void parse(java.io.InputStream xmlInputStream)
throws ManifoldCFException,
ServiceInterruption,
java.io.IOException
ManifoldCFException
ServiceInterruption
java.io.IOException
public void cleanup()
throws ManifoldCFException
ManifoldCFExceptionpublic void setContext(XMLContext context)
public XMLContext getContext()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||