JDOM
2.0.5

org.jdom2.input.sax
Interface SAXHandlerFactory

All Known Implementing Classes:
DefaultSAXHandlerFactory

public interface SAXHandlerFactory

Provides SAXBuilder with SAXHandler instances to support SAX parsing. Users wanting to customise the way that JDOM processes the SAX events should override the SAXHandler class, and then use an implementation of this factory to feed instances of that new class to SAXBuilder.

Author:
Rolf Lear
See Also:
SAXHandler, org.jdom2.input.sax

Method Summary
 SAXHandler createSAXHandler(JDOMFactory factory)
          Create a new SAXHandler instance for SAXBuilder to use.
 

Method Detail

createSAXHandler

SAXHandler createSAXHandler(JDOMFactory factory)
Create a new SAXHandler instance for SAXBuilder to use.

Parameters:
factory - The JDOMFactory to use for creating JDOM content.
Returns:
a new instance of a SAXHandler (or subclass) class.

JDOM
2.0.5

Copyright 2013 Jason Hunter, Brett McLaughlin. All Rights Reserved.