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.
-
handleAtRule(String, String)
- Handles an at-rule.
-
handleRule(CssSelectors, Vector)
- Adds a vector of properties to a selector.
-
notifyErrors(Errors)
- Notify all errors
-
notifyWarnings(Warnings)
- Notify all warnings
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
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
notifyErrors
public abstract void notifyErrors(Errors errors)
- Notify all errors
- Parameters:
- errors - All errors in the style sheet
- See Also:
- CssError, CssErrorDeclaration, CssErrorToken
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