|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.twitterapime.parser.Parser
public abstract class Parser
This interface defines the necessary methods of a parser in order to retrieve the content of a document.
ParserFactory
,
Handler
Constructor Summary | |
---|---|
Parser()
|
Method Summary | |
---|---|
abstract void |
parse(java.io.InputStream stream,
Handler handler)
Parse the content of the input stream specified as XML using the specified Handler . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Parser()
Method Detail |
---|
public abstract void parse(java.io.InputStream stream, Handler handler) throws java.io.IOException, ParserException
Parse the content of the input stream specified as XML using the
specified Handler
.
stream
- The InputSource containing the content to be parsed.handler
- The handler to use.
ParserException
- If there is an error in the document format.
java.io.IOException
- If an I/O error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |