public interface EncodingDeclarationHandler
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCharacterEncoding()
Queries the environment for the encoding in use (for error reporting).
|
boolean |
internalEncodingDeclaration(java.lang.String charset)
Indicates that the parser has found an internal encoding declaration with
the charset value
charset . |
boolean internalEncodingDeclaration(java.lang.String charset) throws org.xml.sax.SAXException
charset
.charset
- the charset name found.true
if the value of charset
was an
encoding name for a supported ASCII-superset encoding.org.xml.sax.SAXException
- if something went wrongjava.lang.String getCharacterEncoding() throws org.xml.sax.SAXException
org.xml.sax.SAXException
- if something went wrong