public abstract class AbstractXMLWritingIFDocumentHandler extends AbstractIFDocumentHandler
IFDocumentHandler implementations.| Modifier and Type | Field and Description |
|---|---|
protected GenerationHelperContentHandler |
handler
Main SAX ContentHandler to receive the generated SAX events.
|
protected javax.xml.transform.sax.SAXTransformerFactory |
tFactory
Default SAXTransformerFactory that can be used by subclasses.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractXMLWritingIFDocumentHandler(IFContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected org.xml.sax.ContentHandler |
createContentHandler(javax.xml.transform.Result result)
Creates a ContentHandler for the given JAXP Result instance.
|
protected abstract java.lang.String |
getMainNamespace()
Returns the main namespace used for generated XML content.
|
void |
setResult(javax.xml.transform.Result result)
Sets the JAXP Result object to receive the generated content.
|
endDocumentHeader, endDocumentTrailer, endPageHeader, endPageTrailer, getContext, getDocumentNavigationHandler, getStructureTreeEventHandler, getUserAgent, setDocumentLocale, startDocument, startDocumentHeader, startDocumentTrailer, startPageHeader, startPageTrailerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitendDocument, endPage, endPageContent, endPageSequence, getConfigurator, getFontInfo, getMimeType, handleExtensionObject, setDefaultFontInfo, setFontInfo, startPage, startPageContent, startPageSequence, supportsPagesOutOfOrderprotected javax.xml.transform.sax.SAXTransformerFactory tFactory
protected GenerationHelperContentHandler handler
protected AbstractXMLWritingIFDocumentHandler(IFContext context)
public void setResult(javax.xml.transform.Result result)
throws IFException
result - the JAXP Result object to receive the generated contentIFException - if an error occurs setting up the outputprotected abstract java.lang.String getMainNamespace()
protected org.xml.sax.ContentHandler createContentHandler(javax.xml.transform.Result result)
throws IFException
result - the JAXP Result instanceIFException - if an error occurs setting up the outputCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.