|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
oracle.xml.comp.CXMLParser
This class parses the XML document which is in the WAP Binary XML Content Format (Version 1.2) and creates SAX events from them.
Constructor Summary | |
CXMLParser()
Creates a new Binary XML Parser object. |
Method Summary | |
ContentHandler |
getContentHandler()
Get content handler |
ErrorHandler |
getErrorHandler()
Get the current error handler |
void |
parse(java.lang.String inFile)
Parse the Binary XML file |
void |
setContentHandler(ContentHandler handler)
Register a content event handler |
void |
setErrorHandler(ErrorHandler handler)
Register an error event handler |
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
source
- The input source for th top level XML document
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |