public class CXMLParser
extends java.lang.Object
| Constructor and Description |
|---|
CXMLParser()
Creates a new XML Parser object for reading the compressed stream.
|
| Modifier and Type | Method and Description |
|---|---|
ContentHandler |
getContentHandler()
Get content handler
|
ErrorHandler |
getErrorHandler()
Get the current error handler
|
void |
parse(java.io.ObjectInput objIn)
Parse the compressed stream and generates the SAX events.
|
void |
parse(java.lang.String inFile)
Parse the compressed stream and generates the SAX events.
|
void |
setContentHandler(ContentHandler handler)
Register a content event handler
|
void |
setErrorHandler(ErrorHandler handler)
Register an error event handler
|
public CXMLParser()
public void setContentHandler(ContentHandler handler)
handler - The content handlerpublic ContentHandler getContentHandler()
public void setErrorHandler(ErrorHandler handler)
handler - The error handlerpublic ErrorHandler getErrorHandler()
public void parse(java.lang.String inFile)
throws java.io.IOException,
SAXException
inFile - The input source which needs to be parsed to regenerate the SAX events.SAXException - any SAX exceptionjava.io.IOException - an error due to I/O operations
public void parse(java.io.ObjectInput objIn)
throws java.io.IOException,
SAXException
objIn - The input source which needs to be parsed to regenerate the SAX events.SAXException - any SAX exceptionjava.io.IOException - an error due to I/O operations