Package nu.validator.htmlparser.common
Interface DocumentModeHandler
-
public interface DocumentModeHandler
A callback interface for receiving notification about the document mode.- Version:
- $Id$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
documentMode(DocumentMode mode, java.lang.String publicIdentifier, java.lang.String systemIdentifier, boolean html4SpecificAdditionalErrorChecks)
Receive notification of the document mode.
-
-
-
Method Detail
-
documentMode
void documentMode(DocumentMode mode, java.lang.String publicIdentifier, java.lang.String systemIdentifier, boolean html4SpecificAdditionalErrorChecks) throws org.xml.sax.SAXException
Receive notification of the document mode.- Parameters:
mode
- the document modepublicIdentifier
- the public id of the doctype ornull
if unavailablesystemIdentifier
- the system id of the doctype ornull
if unavailablehtml4SpecificAdditionalErrorChecks
-true
if HTML 4-specific checks were enabled,false
otherwise- Throws:
org.xml.sax.SAXException
- if things go wrong
-
-