Package io.sf.carte.doc.style.css.nsac
Interface CSSErrorHandler
- All Known Implementing Classes:
EmptyCSSHandler
public interface CSSErrorHandler
A CSS event handler for low-level parsing errors.
Based on SAC's ErrorHandler
interface by Philippe Le Hegaret.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
error
(CSSParseException exception) Receive notification of an error.void
warning
(CSSParseException exception) Receive notification of a warning.
-
Method Details
-
warning
Receive notification of a warning.- Parameters:
exception
- The warning information encapsulated in a CSS parse exception.- Throws:
CSSParseException
- if this handler decides that the parse process cannot continue.
-
error
Receive notification of an error.This corresponds to the definition of "error" in section 1.2 of the W3C XML 1.0 Recommendation. For example, a validating parser would use this callback to report the violation of a validity constraint. The default behaviour is to take no action.
- Parameters:
exception
- The error information encapsulated in a CSS parse exception.- Throws:
CSSParseException
- if this handler decides that the parse process cannot continue.
-