Top Description Methods
org.jdom2.input.sax

public Interface SAXHandlerFactory

Known Direct Implementers
org.jdom2.input.sax.DefaultSAXHandlerFactory
Imports
org.jdom2.JDOMFactory

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

Modifier and TypeMethod and Description
public SAXHandler

Returns:

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

Create a new SAXHandler instance for SAXBuilder to use.

Method Detail

createSAXHandlerback to summary
public SAXHandler createSAXHandler(JDOMFactory factory)

Create a new SAXHandler instance for SAXBuilder to use.

Parameters
factory:JDOMFactory

The JDOMFactory to use for creating JDOM content.

Returns:SAXHandler

a new instance of a SAXHandler (or subclass) class.