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(String parser)
Creates a new DocumentFactory object.
|
Modifier and Type | Method and Description |
---|---|
Document |
getDocument()
Returns the document built up by handling the incoming SAX events.
|
InputSource |
resolveEntity(String publicId,
String systemId) |
void |
setAdditionalEntityResolver(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(String parser)
parser
- The SAX2 parser classname.public void setAdditionalEntityResolver(EntityResolver resolver)
resolver
- Additional resolverpublic InputSource resolveEntity(String publicId, String systemId) throws SAXException
resolveEntity
in interface EntityResolver
resolveEntity
in class org.apache.batik.anim.dom.SAXSVGDocumentFactory
SAXException
public Document getDocument()
Copyright © 2025 Apache Software Foundation. All rights reserved.