|
HTML Parser Home Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.htmlparser.sax.Feedback
public class Feedback
Mediates between the feedback mechanism of the htmlparser and an error handler.
Field Summary | |
---|---|
protected ErrorHandler |
mErrorHandler
The error handler to call back on. |
protected Locator |
mLocator
The locator for tag positions. |
Constructor Summary | |
---|---|
Feedback(ErrorHandler handler,
Locator locator)
Create a feedback/error handler mediator. |
Method Summary | |
---|---|
void |
error(String message,
ParserException e)
Error message. |
void |
info(String message)
Information message. |
void |
warning(String message)
Warning message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ErrorHandler mErrorHandler
protected Locator mLocator
Constructor Detail |
---|
public Feedback(ErrorHandler handler, Locator locator)
handler
- The callback object.locator
- A locator for error locations.Method Detail |
---|
public void info(String message)
info
in interface ParserFeedback
message
- public void warning(String message)
ErrorHandler.warning
.
warning
in interface ParserFeedback
message
- public void error(String message, ParserException e)
ErrorHandler.error
.
error
in interface ParserFeedback
message
- e
-
|
© 2006 Derrick Oswald Sep 17, 2006
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
HTML Parser is an open source library released under Common Public License. |