org.w3c.tidy
Class Report
java.lang.Object
|
+--org.w3c.tidy.Report
-
public class Report
-
extends java.lang.Object
Clase de Tidy adaptada a las necesidades del paquete uaw.
Se ha deshabilitado el método HelloMessage() -- ahora no hace nada
-- Se ha redefinido el método ErrorSummary(...) con tal de que no muestre nada por pantalla sino que asigne unos valores a unas variables estáticas sobre los errores dados. Se han creado las variables estáticas para guardar la información de los errores: web... Se ha creado un nuevo método webErrorSummary similar al anterior ErrorSummary.
Method Summary
|
static void
|
attrError (Lexer lexer,
org.w3c.tidy.Node node, java.lang.String attr, short
code)
|
static void
|
badArgument
(java.lang.String option)
|
static void
|
badTree
(java.io.PrintWriter errout)
|
static void
|
encodingError
(Lexer lexer, short code, int
c)
|
static void
|
entityError (Lexer lexer,
short code, java.lang.String entity, int c)
|
static void
|
error (Lexer lexer,
org.w3c.tidy.Node element, org.w3c.tidy.Node node, short
code)
|
static void
|
errorSummary
(Lexer lexer)
|
static void
|
generalInfo
(java.io.PrintWriter errout)
|
static void
|
helloMessage (java.io.PrintWriter errout,
java.lang.String date, java.lang.String filename)
|
static void
|
helpText
(java.io.PrintWriter out, java.lang.String prog)
|
static void
|
missingBody
(java.io.PrintWriter errout)
|
static void
|
needsAuthorIntervention
(java.io.PrintWriter errout)
|
static void
|
position (Lexer lexer)
|
static void
|
reportNumberOfSlides
(java.io.PrintWriter errout, int count)
|
static void
|
reportNumWarnings (java.io.PrintWriter errout, Lexer lexer)
|
static void
|
reportVersion (java.io.PrintWriter errout, Lexer lexer, java.lang.String
filename, org.w3c.tidy.Node doctype)
|
static void
|
showVersion
(java.io.PrintWriter p)
|
static void
|
tag
(Lexer lexer, org.w3c.tidy.Node
tag)
|
static void
|
tidyPrint
(java.io.PrintWriter p, java.lang.String msg)
|
static void
|
tidyPrintln
(java.io.PrintWriter p)
|
static void
|
tidyPrintln
(java.io.PrintWriter p, java.lang.String msg)
|
static void
|
unknownFile (java.io.PrintWriter errout,
java.lang.String program, java.lang.String file)
|
static void
|
unknownOption
(java.io.PrintWriter errout, char c)
|
static void
|
unknownOption
(java.lang.String option)
|
static void
|
warning (Lexer lexer,
org.w3c.tidy.Node element, org.w3c.tidy.Node node, short
code)
|
static void
|
webErrorSummary
(java.io.PrintWriter errout)
|
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify,
notifyAll, toString, wait, wait, wait
|
webBadChars
static boolean webBadChars
webBadForm
static boolean webBadForm
webBadAccess
static boolean webBadAccess
webBadAcess_missing_summary
static boolean webBadAcess_missing_summary
webBadAccess_missing_image_alt
static boolean webBadAccess_missing_image_alt
webBadAccess_missing_image_map
static boolean webBadAccess_missing_image_map
webBadAccess_missing_link_alt
static boolean webBadAccess_missing_link_alt
webBadAccess_frames
static boolean webBadAccess_frames
webBadLayout_using_layer
static boolean webBadLayout_using_layer
webBadLayout_using_spacer
static boolean webBadLayout_using_spacer
webBadLayout_using_font
static boolean webBadLayout_using_font
webBadLayout_using_nobr
static boolean webBadLayout_using_nobr
webBadLayout_using_body
static boolean webBadLayout_using_body
ACCESS_URL
public static final java.lang.String ACCESS_URL
-
-
See Also:
-
Constant Field Values
RELEASE_DATE
public static final java.lang.String RELEASE_DATE
-
-
See Also:
-
Constant Field Values
currentFile
public static java.lang.String currentFile
MISSING_SEMICOLON
public static final short MISSING_SEMICOLON
-
-
See Also:
-
Constant Field Values
UNKNOWN_ENTITY
public static final short UNKNOWN_ENTITY
-
-
See Also:
-
Constant Field Values
UNESCAPED_AMPERSAND
public static final short UNESCAPED_AMPERSAND
-
-
See Also:
-
Constant Field Values
MISSING_ENDTAG_FOR
public static final short MISSING_ENDTAG_FOR
-
-
See Also:
-
Constant Field Values
MISSING_ENDTAG_BEFORE
public static final short MISSING_ENDTAG_BEFORE
-
-
See Also:
-
Constant Field Values
DISCARDING_UNEXPECTED
public static final short DISCARDING_UNEXPECTED
-
-
See Also:
-
Constant Field Values
NESTED_EMPHASIS
public static final short NESTED_EMPHASIS
-
-
See Also:
-
Constant Field Values
NON_MATCHING_ENDTAG
public static final short NON_MATCHING_ENDTAG
-
-
See Also:
-
Constant Field Values
TAG_NOT_ALLOWED_IN
public static final short TAG_NOT_ALLOWED_IN
-
-
See Also:
-
Constant Field Values
MISSING_STARTTAG
public static final short MISSING_STARTTAG
-
-
See Also:
-
Constant Field Values
UNEXPECTED_ENDTAG
public static final short UNEXPECTED_ENDTAG
-
-
See Also:
-
Constant Field Values
USING_BR_INPLACE_OF
public static final short USING_BR_INPLACE_OF
-
-
See Also:
-
Constant Field Values
INSERTING_TAG
public static final short INSERTING_TAG
-
-
See Also:
-
Constant Field Values
SUSPECTED_MISSING_QUOTE
public static final short SUSPECTED_MISSING_QUOTE
-
-
See Also:
-
Constant Field Values
MISSING_TITLE_ELEMENT
public static final short MISSING_TITLE_ELEMENT
-
-
See Also:
-
Constant Field Values
DUPLICATE_FRAMESET
public static final short DUPLICATE_FRAMESET
-
-
See Also:
-
Constant Field Values
CANT_BE_NESTED
public static final short CANT_BE_NESTED
-
-
See Also:
-
Constant Field Values
OBSOLETE_ELEMENT
public static final short OBSOLETE_ELEMENT
-
-
See Also:
-
Constant Field Values
PROPRIETARY_ELEMENT
public static final short PROPRIETARY_ELEMENT
-
-
See Also:
-
Constant Field Values
UNKNOWN_ELEMENT
public static final short UNKNOWN_ELEMENT
-
-
See Also:
-
Constant Field Values
TRIM_EMPTY_ELEMENT
public static final short TRIM_EMPTY_ELEMENT
-
-
See Also:
-
Constant Field Values
COERCE_TO_ENDTAG
public static final short COERCE_TO_ENDTAG
-
-
See Also:
-
Constant Field Values
ILLEGAL_NESTING
public static final short ILLEGAL_NESTING
-
-
See Also:
-
Constant Field Values
NOFRAMES_CONTENT
public static final short NOFRAMES_CONTENT
-
-
See Also:
-
Constant Field Values
CONTENT_AFTER_BODY
public static final short CONTENT_AFTER_BODY
-
-
See Also:
-
Constant Field Values
INCONSISTENT_VERSION
public static final short INCONSISTENT_VERSION
-
-
See Also:
-
Constant Field Values
MALFORMED_COMMENT
public static final short MALFORMED_COMMENT
-
-
See Also:
-
Constant Field Values
BAD_COMMENT_CHARS
public static final short BAD_COMMENT_CHARS
-
-
See Also:
-
Constant Field Values
BAD_XML_COMMENT
public static final short BAD_XML_COMMENT
-
-
See Also:
-
Constant Field Values
BAD_CDATA_CONTENT
public static final short BAD_CDATA_CONTENT
-
-
See Also:
-
Constant Field Values
INCONSISTENT_NAMESPACE
public static final short INCONSISTENT_NAMESPACE
-
-
See Also:
-
Constant Field Values
DOCTYPE_AFTER_TAGS
public static final short DOCTYPE_AFTER_TAGS
-
-
See Also:
-
Constant Field Values
MALFORMED_DOCTYPE
public static final short MALFORMED_DOCTYPE
-
-
See Also:
-
Constant Field Values
UNEXPECTED_END_OF_FILE
public static final short UNEXPECTED_END_OF_FILE
-
-
See Also:
-
Constant Field Values
DTYPE_NOT_UPPER_CASE
public static final short DTYPE_NOT_UPPER_CASE
-
-
See Also:
-
Constant Field Values
TOO_MANY_ELEMENTS
public static final short TOO_MANY_ELEMENTS
-
-
See Also:
-
Constant Field Values
UNKNOWN_ATTRIBUTE
public static final short UNKNOWN_ATTRIBUTE
-
-
See Also:
-
Constant Field Values
MISSING_ATTRIBUTE
public static final short MISSING_ATTRIBUTE
-
-
See Also:
-
Constant Field Values
MISSING_ATTR_VALUE
public static final short MISSING_ATTR_VALUE
-
-
See Also:
-
Constant Field Values
BAD_ATTRIBUTE_VALUE
public static final short BAD_ATTRIBUTE_VALUE
-
-
See Also:
-
Constant Field Values
UNEXPECTED_GT
public static final short UNEXPECTED_GT
-
-
See Also:
-
Constant Field Values
PROPRIETARY_ATTR_VALUE
public static final short PROPRIETARY_ATTR_VALUE
-
-
See Also:
-
Constant Field Values
REPEATED_ATTRIBUTE
public static final short REPEATED_ATTRIBUTE
-
-
See Also:
-
Constant Field Values
MISSING_IMAGEMAP
public static final short MISSING_IMAGEMAP
-
-
See Also:
-
Constant Field Values
XML_ATTRIBUTE_VALUE
public static final short XML_ATTRIBUTE_VALUE
-
-
See Also:
-
Constant Field Values
UNEXPECTED_QUOTEMARK
public static final short UNEXPECTED_QUOTEMARK
-
-
See Also:
-
Constant Field Values
ID_NAME_MISMATCH
public static final short ID_NAME_MISMATCH
-
-
See Also:
-
Constant Field Values
MISSING_IMAGE_ALT
public static final short MISSING_IMAGE_ALT
-
-
See Also:
-
Constant Field Values
MISSING_LINK_ALT
public static final short MISSING_LINK_ALT
-
-
See Also:
-
Constant Field Values
MISSING_SUMMARY
public static final short MISSING_SUMMARY
-
-
See Also:
-
Constant Field Values
MISSING_IMAGE_MAP
public static final short MISSING_IMAGE_MAP
-
-
See Also:
-
Constant Field Values
USING_FRAMES
public static final short USING_FRAMES
-
-
See Also:
-
Constant Field Values
USING_NOFRAMES
public static final short USING_NOFRAMES
-
-
See Also:
-
Constant Field Values
USING_SPACER
public static final short USING_SPACER
-
-
See Also:
-
Constant Field Values
USING_LAYER
public static final short USING_LAYER
-
-
See Also:
-
Constant Field Values
USING_NOBR
public static final short USING_NOBR
-
-
See Also:
-
Constant Field Values
USING_FONT
public static final short USING_FONT
-
-
See Also:
-
Constant Field Values
USING_BODY
public static final short USING_BODY
-
-
See Also:
-
Constant Field Values
WINDOWS_CHARS
public static final short WINDOWS_CHARS
-
-
See Also:
-
Constant Field Values
NON_ASCII
public static final short NON_ASCII
-
-
See Also:
-
Constant Field Values
FOUND_UTF16
public static final short FOUND_UTF16
-
-
See Also:
-
Constant Field Values
optionerrors
private static short optionerrors
res
private static java.util.ResourceBundle res
Report
public Report()
tidyPrint
public static void tidyPrint(java.io.PrintWriter p,
java.lang.String msg)
tidyPrintln
public static void tidyPrintln(java.io.PrintWriter p,
java.lang.String msg)
tidyPrintln
public static void tidyPrintln(java.io.PrintWriter p)
showVersion
public static void showVersion(java.io.PrintWriter p)
tag
public static void tag(Lexer lexer,
org.w3c.tidy.Node tag)
unknownOption
public static void unknownOption(java.lang.String option)
badArgument
public static void badArgument(java.lang.String option)
position
public static void position(Lexer lexer)
encodingError
public static void encodingError(Lexer lexer,
short code,
int c)
entityError
public static void entityError(Lexer lexer,
short code,
java.lang.String entity,
int c)
attrError
public static void attrError(Lexer lexer,
org.w3c.tidy.Node node,
java.lang.String attr,
short code)
warning
public static void warning(Lexer lexer,
org.w3c.tidy.Node element,
org.w3c.tidy.Node node,
short code)
error
public static void error(Lexer lexer,
org.w3c.tidy.Node element,
org.w3c.tidy.Node node,
short code)
errorSummary
public static void errorSummary(Lexer lexer)
webErrorSummary
public static void webErrorSummary(java.io.PrintWriter errout)
unknownOption
public static void unknownOption(java.io.PrintWriter errout,
char c)
unknownFile
public static void unknownFile(java.io.PrintWriter errout,
java.lang.String program,
java.lang.String file)
needsAuthorIntervention
public static void needsAuthorIntervention(java.io.PrintWriter errout)
missingBody
public static void missingBody(java.io.PrintWriter errout)
reportNumberOfSlides
public static void reportNumberOfSlides(java.io.PrintWriter errout,
int count)
generalInfo
public static void generalInfo(java.io.PrintWriter errout)
helloMessage
public static void helloMessage(java.io.PrintWriter errout,
java.lang.String date,
java.lang.String filename)
reportVersion
public static void reportVersion(java.io.PrintWriter errout,
Lexer lexer,
java.lang.String filename,
org.w3c.tidy.Node doctype)
reportNumWarnings
public static void reportNumWarnings(java.io.PrintWriter errout,
Lexer lexer)
helpText
public static void helpText(java.io.PrintWriter out,
java.lang.String prog)
badTree
public static void badTree(java.io.PrintWriter errout)