org.htmlparser.util
Class FeedbackManager

java.lang.Object
  extended byorg.htmlparser.util.FeedbackManager

public class FeedbackManager
extends java.lang.Object

Implementaiton of static methods that allow the parser to route various messages to any implementation of the HTMLParserFeedback interface. End users can use the default DefaultHTMLParserFeedback or may provide their own by calling the setParserFeedback method.

See Also:
ParserFeedback, DefaultParserFeedback

Field Summary
protected static ParserFeedback callback
           
 
Constructor Summary
FeedbackManager()
           
 
Method Summary
static void error(java.lang.String message, ParserException e)
           
static void info(java.lang.String message)
           
static void setParserFeedback(ParserFeedback feedback)
           
static void warning(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

callback

protected static ParserFeedback callback
Constructor Detail

FeedbackManager

public FeedbackManager()
Method Detail

setParserFeedback

public static void setParserFeedback(ParserFeedback feedback)

info

public static void info(java.lang.String message)

warning

public static void warning(java.lang.String message)

error

public static void error(java.lang.String message,
                         ParserException e)