Package org.apache.fop.util
Class DOMBuilderContentHandlerFactory
java.lang.Object
org.apache.fop.util.DOMBuilderContentHandlerFactory
- All Implemented Interfaces:
ContentHandlerFactory
ContentHandlerFactory which constructs ContentHandlers that build DOM Documents.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.fop.util.ContentHandlerFactory
ContentHandlerFactory.ObjectBuiltListener, ContentHandlerFactory.ObjectSource
-
Constructor Summary
ConstructorsConstructorDescriptionDOMBuilderContentHandlerFactory
(String namespaceURI, DOMImplementation domImplementation) Main Constructor -
Method Summary
-
Constructor Details
-
DOMBuilderContentHandlerFactory
Main Constructor- Parameters:
namespaceURI
- the main namespace URI for the DOM to be parseddomImplementation
- the DOMImplementation to use for build the DOM
-
-
Method Details
-
getSupportedNamespaces
- Specified by:
getSupportedNamespaces
in interfaceContentHandlerFactory
- Returns:
- an array of supported namespaces.
-
createContentHandler
- Specified by:
createContentHandler
in interfaceContentHandlerFactory
- Returns:
- a new ContentHandler to handle a SAX stream
- Throws:
SAXException
- if there's an error while preparing the ContentHandler
-