Interface EncodingDeclarationHandler
- All Known Implementing Classes:
Driver
public interface EncodingDeclarationHandler
An interface for communicating about character encoding names with the
environment of the parser.
- Version:
- $Id$
-
Method Summary
Modifier and TypeMethodDescriptionQueries the environment for the encoding in use (for error reporting).booleaninternalEncodingDeclaration(String charset) Indicates that the parser has found an internal encoding declaration with the charset valuecharset.
-
Method Details
-
internalEncodingDeclaration
Indicates that the parser has found an internal encoding declaration with the charset valuecharset.- Parameters:
charset- the charset name found.- Returns:
trueif the value ofcharsetwas an encoding name for a supported ASCII-superset encoding.- Throws:
SAXException- if something went wrong
-
getCharacterEncoding
Queries the environment for the encoding in use (for error reporting).- Returns:
- the encoding in use
- Throws:
SAXException- if something went wrong
-