|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The parser can be used to parse any XML document given
by a InputSource
object.
It can send XML events from the parsed document.
Method Summary | |
void |
parse(InputSource in,
ContentHandler consumer)
Parse the InputSource and send
SAX events to the consumer. |
void |
parse(InputSource in,
ContentHandler contentHandler,
LexicalHandler lexicalHandler)
Parse the InputSource and send
SAX events to the content handler and
the lexical handler. |
Method Detail |
public void parse(InputSource in, ContentHandler consumer) throws SAXException, IOException
InputSource
and send
SAX events to the consumer.
Attention: the consumer can implement the
LexicalHandler
as well.
The parse should take care of this.
SAXException
IOException
public void parse(InputSource in, ContentHandler contentHandler, LexicalHandler lexicalHandler) throws SAXException, IOException
InputSource
and send
SAX events to the content handler and
the lexical handler.
SAXException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |