de.cau.cs.kieler.kev.views
Class EclipseSAXSVGDocumentFactory

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.apache.batik.dom.util.SAXDocumentFactory
          extended by org.apache.batik.dom.svg.SAXSVGDocumentFactory
              extended by de.cau.cs.kieler.kev.views.EclipseSAXSVGDocumentFactory
All Implemented Interfaces:
org.apache.batik.dom.svg.SVGDocumentFactory, org.apache.batik.dom.util.DocumentFactory, ContentHandler, DTDHandler, EntityResolver, ErrorHandler, LexicalHandler

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

This is a special version of the SAXSVGDocumentFactory class. It loads the XML parser class via the Eclipse class loader and bypasses the Batik NewInstance class which used to be responsible for loading the parser.

Rating red

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.batik.dom.util.SAXDocumentFactory
org.apache.batik.dom.util.SAXDocumentFactory.PreInfo
 
Field Summary
 
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
EclipseSAXSVGDocumentFactory(String parser, boolean dd)
          The constructor.
 
Method Summary
protected  Document createDocument(InputSource is)
           
 
Methods inherited from class org.apache.batik.dom.svg.SAXSVGDocumentFactory
createDocument, createDocument, createDocument, createDocument, createDocument, createDocument, createSVGDocument, createSVGDocument, createSVGDocument, getDOMImplementation, resolveEntity, startDocument
 
Methods inherited from class org.apache.batik.dom.util.SAXDocumentFactory
appendStringData, characters, comment, 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

EclipseSAXSVGDocumentFactory

public EclipseSAXSVGDocumentFactory(String parser,
                                    boolean dd)
The constructor.

Parameters:
parser -
dd -
Method Detail

createDocument

protected Document createDocument(InputSource is)
                           throws IOException
Overrides:
createDocument in class org.apache.batik.dom.util.SAXDocumentFactory
Throws:
IOException