org.apache.fop.svg

Class FOPSAXSVGDocumentFactory


public class FOPSAXSVGDocumentFactory
extends SAXSVGDocumentFactory

This is a special subclass to allow setting a special EntityResolver.

Constructor Summary

FOPSAXSVGDocumentFactory(String parser)
Creates a new DocumentFactory object.

Method Summary

InputSource
resolveEntity(String publicId, String systemId)
void
setAdditionalEntityResolver(EntityResolver resolver)
Sets an additional entity resolver.

Constructor Details

FOPSAXSVGDocumentFactory

public FOPSAXSVGDocumentFactory(String parser)
Creates a new DocumentFactory object.
Parameters:
parser - The SAX2 parser classname.

Method Details

resolveEntity

public InputSource resolveEntity(String publicId,
                                 String systemId)
            throws SAXException
See Also:
org.xml.sax.EntityResolver.resolveEntity(String, String)

setAdditionalEntityResolver

public void setAdditionalEntityResolver(EntityResolver resolver)
Sets an additional entity resolver. It will be used before the default entity resolving.
Parameters:
resolver - Additional resolver

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