public class FOPSAXSVGDocumentFactory
extends org.apache.batik.anim.dom.SAXSVGDocumentFactory
dtdids, DTDIDS, dtdProps, HTTP_CHARSET, KEY_PUBLIC_IDS, KEY_SKIP_DTD, KEY_SKIPPABLE_PUBLIC_IDS, KEY_SYSTEM_ID, LOCK, skip_dtd, skippable_dtdids
createDocumentDescriptor, currentNode, doctype, document, documentDescriptor, errorHandler, implementation, inCDATA, inDTD, inProlog, isStandalone, isValidating, locator, namespaces, parser, parserClassName, preInfo, stringBuffer, stringContent, xmlVersion
Constructor and Description |
---|
FOPSAXSVGDocumentFactory(java.lang.String parser)
Creates a new DocumentFactory object.
|
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Document |
getDocument()
Returns the document built up by handling the incoming SAX events.
|
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.
|
createDocument, createDocument, createDocument, createDocument, createDocument, createDocument, createSVGDocument, createSVGDocument, createSVGDocument, getDOMImplementation, startDocument
appendStringData, characters, comment, createDocument, createDocument, createDocument, endCDATA, endDTD, endElement, endEntity, error, fatalError, getDocumentDescriptor, ignorableWhitespace, isValidating, processingInstruction, setDocumentLocator, setErrorHandler, setValidating, startCDATA, startDTD, startElement, startEntity, warning
endDocument, endPrefixMapping, notationDecl, skippedEntity, startPrefixMapping, unparsedEntityDecl
public FOPSAXSVGDocumentFactory(java.lang.String parser)
parser
- The SAX2 parser classname.public void setAdditionalEntityResolver(org.xml.sax.EntityResolver resolver)
resolver
- Additional resolverpublic org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId) throws org.xml.sax.SAXException
resolveEntity
in interface org.xml.sax.EntityResolver
resolveEntity
in class org.apache.batik.anim.dom.SAXSVGDocumentFactory
org.xml.sax.SAXException
public org.w3c.dom.Document getDocument()
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.