fop 0.92beta

org.apache.fop.svg
Class FOPSAXSVGDocumentFactory

java.lang.Object
  |
  +--org.xml.sax.helpers.DefaultHandler
        |
        +--org.apache.batik.dom.util.SAXDocumentFactory
              |
              +--org.apache.batik.dom.svg.SAXSVGDocumentFactory
                    |
                    +--org.apache.fop.svg.FOPSAXSVGDocumentFactory
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.apache.batik.dom.util.DocumentFactory, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler, org.xml.sax.ext.LexicalHandler, org.apache.batik.dom.svg.SVGDocumentFactory

public class FOPSAXSVGDocumentFactory
extends org.apache.batik.dom.svg.SAXSVGDocumentFactory

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


Inner classes inherited from class org.apache.batik.dom.util.SAXDocumentFactory
org.apache.batik.dom.util.SAXDocumentFactory.PreInfo
 
Fields inherited from class org.apache.batik.dom.svg.SAXSVGDocumentFactory
dtdids, DTDIDS, dtdProps, HTTP_CHARSET, KEY_PUBLIC_IDS, KEY_SKIP_DTD, KEY_SKIPPABLE_PUBLIC_IDS, KEY_SYSTEM_ID, LOCK, skip_dtd, skippable_dtdids
 
Fields inherited from class org.apache.batik.dom.util.SAXDocumentFactory
createDocumentDescriptor, currentNode, document, documentDescriptor, errorHandler, implementation, inCDATA, inDTD, isValidating, locator, namespaces, parserClassName, preInfo, stringBuffer, stringContent
 
Constructor Summary
FOPSAXSVGDocumentFactory(java.lang.String parser)
          Creates a new DocumentFactory object.
 
Method Summary
 org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
           
 void setAdditionalEntityResolver(org.xml.sax.EntityResolver resolver)
          Sets an additional entity resolver.
 
Methods inherited from class org.apache.batik.dom.svg.SAXSVGDocumentFactory
createDocument, createDocument, createDocument, createDocument, createDocument, createDocument, createSVGDocument, createSVGDocument, createSVGDocument, getDOMImplementation, startDocument
 
Methods inherited from class org.apache.batik.dom.util.SAXDocumentFactory
appendStringData, characters, comment, createDocument, createDocument, createDocument, endCDATA, endDTD, endElement, endEntity, error, fatalError, getDocumentDescriptor, ignorableWhitespace, isValidating, processingInstruction, setDocumentLocator, setErrorHandler, setValidating, startCDATA, startDTD, startElement, startEntity, warning
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, notationDecl, skippedEntity, startPrefixMapping, unparsedEntityDecl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.batik.dom.util.DocumentFactory
createDocument, getDocumentDescriptor, isValidating, setValidating
 

Constructor Detail

FOPSAXSVGDocumentFactory

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

setAdditionalEntityResolver

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

resolveEntity

public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
                                             java.lang.String systemId)
                                      throws org.xml.sax.SAXException
Overrides:
resolveEntity in class org.apache.batik.dom.svg.SAXSVGDocumentFactory
See Also:
EntityResolver.resolveEntity(String, String)

fop 0.92beta

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