Package org.apache.fop.fo.extensions.svg
Class SVGDOMContentHandlerFactory
- java.lang.Object
-
- org.apache.fop.fo.extensions.svg.SVGDOMContentHandlerFactory
-
- All Implemented Interfaces:
ContentHandlerFactory
public class SVGDOMContentHandlerFactory extends java.lang.Object implements ContentHandlerFactory
ContentHandlerFactory which constructs ContentHandlers that build SVG DOM Documents.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
SVGDOMContentHandlerFactory.Handler
-
Nested classes/interfaces inherited from interface org.apache.fop.util.ContentHandlerFactory
ContentHandlerFactory.ObjectBuiltListener, ContentHandlerFactory.ObjectSource
-
-
Field Summary
Fields Modifier and Type Field Description private static javax.xml.transform.sax.SAXTransformerFactory
tFactory
-
Constructor Summary
Constructors Constructor Description SVGDOMContentHandlerFactory()
Default Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.xml.sax.ContentHandler
createContentHandler()
java.lang.String[]
getSupportedNamespaces()
-
-
-
Method Detail
-
getSupportedNamespaces
public java.lang.String[] getSupportedNamespaces()
- Specified by:
getSupportedNamespaces
in interfaceContentHandlerFactory
- Returns:
- an array of supported namespaces.
-
createContentHandler
public org.xml.sax.ContentHandler createContentHandler() throws org.xml.sax.SAXException
- Specified by:
createContentHandler
in interfaceContentHandlerFactory
- Returns:
- a new ContentHandler to handle a SAX stream
- Throws:
org.xml.sax.SAXException
- if there's an error while preparing the ContentHandler
-
-