public interface EncodingDeclarationHandler
Modifier and Type | Method and Description |
---|---|
String |
getCharacterEncoding()
Queries the environment for the encoding in use (for error reporting).
|
boolean |
internalEncodingDeclaration(String charset)
Indicates that the parser has found an internal encoding declaration with
the charset value
charset . |
boolean internalEncodingDeclaration(String charset) throws SAXException
charset
.charset
- the charset name found.true
if the value of charset
was an
encoding name for a supported ASCII-superset encoding.SAXException
- if something went wrongString getCharacterEncoding() throws SAXException
SAXException
- if something went wrongCopyright © 2017. All rights reserved.