Package 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:
-
Method Summary
Modifier and TypeMethodDescriptioncreateSAXHandler
(JDOMFactory factory) Create a new SAXHandler instance for SAXBuilder to use.
-
Method Details
-
createSAXHandler
Create a new SAXHandler instance for SAXBuilder to use.- Parameters:
factory
- TheJDOMFactory
to use for creating JDOM content.- Returns:
- a new instance of a SAXHandler (or subclass) class.
-