Package nu.validator.htmlparser.common
Interface DocumentModeHandler
public interface DocumentModeHandler
A callback interface for receiving notification about the document mode.
- Version:
- $Id$
-
Method Summary
Modifier and TypeMethodDescriptionvoiddocumentMode(DocumentMode mode, String publicIdentifier, String systemIdentifier, boolean html4SpecificAdditionalErrorChecks) Receive notification of the document mode.
-
Method Details
-
documentMode
void documentMode(DocumentMode mode, String publicIdentifier, String systemIdentifier, boolean html4SpecificAdditionalErrorChecks) throws SAXException Receive notification of the document mode.- Parameters:
mode- the document modepublicIdentifier- the public id of the doctype ornullif unavailablesystemIdentifier- the system id of the doctype ornullif unavailablehtml4SpecificAdditionalErrorChecks-trueif HTML 4-specific checks were enabled,falseotherwise- Throws:
SAXException- if things go wrong
-