Error/informational message reporter. You should only need to edit the file TidyMessages.properties to localize HTML
tidy.
author: Dave Raggett dsr@w3.org author: Andy Quick ac.quick@sympatico.ca (translation to Java) author: Fabrizio Giustina version: $Revision: 1.49 $ ($Author: fgiust $)
Prints a "bad argument" error message. Lexer is not defined when this is called.
Parameters: key - argument name Parameters: value - bad argument value
Generates a complete message for the warning/error. The message is composed by:
position in file
prefix for the error level (warning: | error:)
message read from ResourceBundle
optional parameters added to message using MessageFormat
Parameters: errorCode - tidy error code Parameters: lexer - Lexer Parameters: message - key for the ResourceBundle Parameters: params - optional parameters added with MessageFormat Parameters: level - message level. One of TidyMessage.LEVEL_ERROR,TidyMessage.LEVEL_WARNING,TidyMessage.LEVEL_INFO formatted message throws: MissingResourceException - if message key is not available in jtidy resource bundle. See Also:TidyMessage
Prints information for html version in input file.
Parameters: errout - PrintWriter Parameters: lexer - Lexer Parameters: filename - file name Parameters: doctype - doctype Node