Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.twitterapime.parser
Class Parser

    java.lang.Object
      com.twitterapime.parser.Parser

    public abstract class Parser

extends java.lang.Object

This interface defines the necessary methods of a parser in order to retrieve the content of a document.

Since:
  1.0
Version:
  1.1
Author:
  Ernandes Mourao Junior (ernandes@gmail.com)
See Also:
  `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

### Parser

    public Parser()

Method Detail

### parse

    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`.

  Parameters:
    `stream` - The InputSource containing the content to be parsed.
    `handler` - The handler to use.
  Throws:
    `ParserException` - If there is an error in the document format.
    `java.io.IOException` - If an I/O error occurs.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010 Twitter API ME Team. All Rights Reserved.