gnu.xml.aelfred2
Interface ContentHandler2
- ContentHandler
- Consumer.Backdoor, DomConsumer.Handler, EventFilter, LinkFilter, NSFilter, ValidationConsumer, WellFormednessFilter, XIncludeFilter, XsltFilter
public interface ContentHandler2
 Extension to the SAX ContentHandler interface to report parsing events
 and parameters required by DOM Level 3 but not supported by SAX.
|  void | xmlDecl(String version, String encoding, boolean standalone, String inputEncoding) Reports the XML declaration.
 | 
| characters,endDocument,endElement,endPrefixMapping,ignorableWhitespace,processingInstruction,setDocumentLocator,skippedEntity,startDocument,startElement,startPrefixMapping | 
xmlDecl
public void xmlDecl(String version,
                    String encoding,
                    boolean standalone,
                    String inputEncoding)
            throws SAXException Reports the XML declaration.
- version- the value of the version attribute in the XML
declaration
- encoding- the encoding specified in the XML declaration, if any
- standalone- the standalone attribute from the XML declaration
- inputEncoding- the encoding of the XML input