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 ClassesNested classes/interfaces inherited from interface ContentHandlerFactory
ContentHandlerFactory.ObjectBuiltListener, ContentHandlerFactory.ObjectSource -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DOMImplementationprivate Stringprivate static SAXTransformerFactory -
Constructor Summary
ConstructorsConstructorDescriptionDOMBuilderContentHandlerFactory(String namespaceURI, DOMImplementation domImplementation) Main Constructor -
Method Summary
-
Field Details
-
tFactory
-
namespaceURI
-
domImplementation
-
-
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:
getSupportedNamespacesin interfaceContentHandlerFactory- Returns:
- an array of supported namespaces.
-
createContentHandler
- Specified by:
createContentHandlerin interfaceContentHandlerFactory- Returns:
- a new ContentHandler to handle a SAX stream
- Throws:
SAXException- if there's an error while preparing the ContentHandler
-