org.apache.fop.util

Interface ContentHandlerFactory

Known Implementing Classes:
AFPExtensionHandlerFactory, DOMBuilderContentHandlerFactory, PSExtensionHandlerFactory, XMPContentHandlerFactory

public interface ContentHandlerFactory

Factory interface implemented by classes that can instantiate ContentHandler subclasses which parse a SAX stream into Java objects.

Nested Class Summary

static interface
ContentHandlerFactory.ObjectBuiltListener
EventListener interface for objects which want to get notified when ContentHandler implementing the ObjectSource interface has finished parsing.
static interface
ContentHandlerFactory.ObjectSource
Interface that ContentHandler implementations that parse Java objects from XML can implement to return these objects.

Method Summary

ContentHandler
createContentHandler()
String[]
getSupportedNamespaces()

Method Details

createContentHandler

public ContentHandler createContentHandler()
            throws SAXException
Returns:
a new ContentHandler to handle a SAX stream

getSupportedNamespaces

public String[] getSupportedNamespaces()
Returns:
an array of supported namespaces.

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