All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface org.w3c.css.parser.CssValidatorListener

public interface CssValidatorListener
Implements this interface if you want to use the CSS1 parser.


Method Index

 o handleAtRule(String, String)
Handles an at-rule.
 o handleRule(CssSelectors, Vector)
Adds a vector of properties to a selector.
 o notifyErrors(Errors)
Notify all errors
 o notifyWarnings(Warnings)
Notify all warnings

Methods

 o handleRule
 public abstract void handleRule(CssSelectors selector,
                                 Vector declarations)
Adds a vector of properties to a selector.

Parameters:
selector - the selector
declarations - Properties to associate with contexts
 o handleAtRule
 public abstract void handleAtRule(String ident,
                                   String string)
Handles an at-rule.

The parameter value can be :

CssString
The value coming from a string.
CssURL
The value coming from an URL.
Vector
The value is a vector of declarations (it contains Couple).

Parameters:
ident - The ident for this at-rule (for example: 'font-face')
value - The string representation of this at-rule
See Also:
Couple
 o notifyErrors
 public abstract void notifyErrors(Errors errors)
Notify all errors

Parameters:
errors - All errors in the style sheet
See Also:
CssError, CssErrorDeclaration, CssErrorToken
 o notifyWarnings
 public abstract void notifyWarnings(Warnings warnings)
Notify all warnings

Parameters:
warnings - All warnings in the style sheet
See Also:
Warning

All Packages  Class Hierarchy  This Package  Previous  Next  Index