org.w3c.tidy
Class AttrCheckImpl.CheckColor

java.lang.Object
  extended byorg.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
private static java.util.Map COLORS
          valid html colors.
 
Constructor Summary
AttrCheckImpl.CheckColor()
           
 
Method Summary
 void check(Lexer lexer, Node node, AttVal attval)
          Check the value of an attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLORS

private static final java.util.Map COLORS
valid html colors.

Constructor Detail

AttrCheckImpl.CheckColor

public AttrCheckImpl.CheckColor()
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 interface AttrCheck
Parameters:
lexer - Lexer
node - current Node
attval - attribute value
See Also:
AttrCheck.check(Lexer, Node, AttVal)