fi.karppinen.xml
Interface XmlDeclarationHandler

All Known Implementing Classes:
TextConsumer, XMLWriter

public interface XmlDeclarationHandler

This is an unofficial SAX extension interface for receiving a notification when an XML declaration is seen.

Author:
hsivonen

Field Summary
static String XML_DECLARATION_HANDLER
          The SAX property string for this interface.
 
Method Summary
 void xmlDecl(String version, String encoding, String standalone)
          Receive a notification of the XML declaration.
 

Field Detail

XML_DECLARATION_HANDLER

static final String XML_DECLARATION_HANDLER
The SAX property string for this interface.

See Also:
Constant Field Values
Method Detail

xmlDecl

void xmlDecl(String version,
             String encoding,
             String standalone)
             throws SAXException
Receive a notification of the XML declaration.

Parameters:
version - the XML version number
encoding - the encoding pseudo-attribute or null if not present
standalone - the standalone pseudo-attribute or null if not present
Throws:
SAXException - any SAX exception, possibly wrapping another exception