Top Description Inners Constructors Methods
org.jdom2.input.sax

public final Class DefaultSAXHandlerFactory

extends Object
implements SAXHandlerFactory
Class Inheritance
All Implemented Interfaces
org.jdom2.input.sax.SAXHandlerFactory
Imports
org.jdom2.JDOMFactory

This SAXHandlerFactory instance provides default-configured SAXHandler instances for all non-custom situations.
Author
Rolf Lear

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
DefaultSAXHandlerFactory.DefaultSAXHandler

For performance reasons it helps to use 'final' instances of classes.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public SAXHandler
createSAXHandler(final JDOMFactory
The JDOMFactory to use for creating JDOM content.
factory
)

Implements org.jdom2.input.sax.SAXHandlerFactory.createSAXHandler.

Create a new SAXHandler instance for SAXBuilder to use.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

DefaultSAXHandlerFactoryback to summary
public DefaultSAXHandlerFactory()

Method Detail

createSAXHandlerback to summary
public SAXHandler createSAXHandler(final JDOMFactory factory)

Implements org.jdom2.input.sax.SAXHandlerFactory.createSAXHandler.

Doc from org.jdom2.input.sax.SAXHandlerFactory.createSAXHandler.

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.

Annotations
@Override
org.jdom2.input.sax back to summary

private final Class DefaultSAXHandlerFactory.DefaultSAXHandler

extends SAXHandler
Class Inheritance

For performance reasons it helps to use 'final' instances of classes. This makes the SAXHandler class a 'final' class for all normal SAXBuilders. It adds no other functionality.
Author
Rolf Lear

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from org.jdom2.input.sax.SAXHandler:
attributeDeclcharacterscommentelementDeclendCDATAendDTDendElementendEntityexternalEntityDeclflushCharactersflushCharactersgetCurrentElementgetDocumentgetDocumentLocatorgetExpandEntitiesgetFactorygetIgnoringBoundaryWhitespacegetIgnoringElementContentWhitespaceignorableWhitespaceinternalEntityDeclnotationDeclprocessingInstructionpushElementresetresetSubCLasssetDocumentLocatorsetExpandEntitiessetIgnoringBoundaryWhitespacesetIgnoringElementContentWhitespaceskippedEntitystartCDATAstartDocumentstartDTDstartElementstartEntitystartPrefixMappingunparsedEntityDecl

Constructor Detail

DefaultSAXHandlerback to summary
public DefaultSAXHandler(final JDOMFactory factory)