Package org.w3c.tidy
Class AttrCheckImpl.CheckColor
- java.lang.Object
-
- org.w3c.tidy.AttrCheckImpl.CheckColor
-
- All Implemented Interfaces:
AttrCheck
- Enclosing class:
- AttrCheckImpl
public static class AttrCheckImpl.CheckColor extends java.lang.Object implements AttrCheck
AttrCheck implementation for checking colors.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Map
COLORS
valid html colors.
-
Constructor Summary
Constructors Constructor Description CheckColor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
check(Lexer lexer, Node node, AttVal attval)
Check the value of an attribute.
-
-
-
Method Detail
-
check
public void check(Lexer lexer, Node node, AttVal attval)
Description copied from interface:AttrCheck
Check the value of an attribute.- Specified by:
check
in interfaceAttrCheck
- Parameters:
lexer
- Lexernode
- current Nodeattval
- attribute value- See Also:
AttrCheck.check(Lexer, Node, AttVal)
-
-