public interface DocumentModeHandler
Modifier and Type | Method and Description |
---|---|
void |
documentMode(DocumentMode mode,
java.lang.String publicIdentifier,
java.lang.String systemIdentifier,
boolean html4SpecificAdditionalErrorChecks)
Receive notification of the document mode.
|
void documentMode(DocumentMode mode, java.lang.String publicIdentifier, java.lang.String systemIdentifier, boolean html4SpecificAdditionalErrorChecks) throws org.xml.sax.SAXException
mode
- the document modepublicIdentifier
- the public id of the doctype or null
if unavailablesystemIdentifier
- the system id of the doctype or null
if unavailablehtml4SpecificAdditionalErrorChecks
- true
if HTML 4-specific checks were enabled, false
otherwiseorg.xml.sax.SAXException
- if things go wrong