|
Oracle® Application Server XML Java API Reference 10g Release 3 (10.1.3) B28238-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.xml.comp.CXMLParser
This class implements the re-generation of XML document from the compressed stream by generating the SAX events from them.
Constructor Summary | |
CXMLParser() Creates a new XML Parser object for reading the compressed stream. |
Method Summary | |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CXMLParser()
Method Detail |
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 operationspublic 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
|
Oracle® Application Server XML Java API Reference 10g Release 3 (10.1.3) B28238-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |