org.apache.fop.util

Class DOMBuilderContentHandlerFactory

Implemented Interfaces:
ContentHandlerFactory

public class DOMBuilderContentHandlerFactory
extends java.lang.Object
implements ContentHandlerFactory

ContentHandlerFactory which constructs ContentHandlers that build DOM Documents.

Constructor Summary

DOMBuilderContentHandlerFactory(String namespaceURI, DOMImplementation domImplementation)
Main Constructor

Method Summary

ContentHandler
createContentHandler()
String[]
getSupportedNamespaces()

Constructor Details

DOMBuilderContentHandlerFactory

public DOMBuilderContentHandlerFactory(String namespaceURI,
                                       DOMImplementation domImplementation)
Main Constructor
Parameters:
namespaceURI - the main namespace URI for the DOM to be parsed
domImplementation - the DOMImplementation to use for build the DOM

Method Details

createContentHandler

public ContentHandler createContentHandler()
            throws SAXException
Specified by:
createContentHandler in interface ContentHandlerFactory

getSupportedNamespaces

public String[] getSupportedNamespaces()
Specified by:
getSupportedNamespaces in interface ContentHandlerFactory

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.