IFDocumentHandler
AbstractSVGDocumentHandler
, IFSerializer
public abstract class AbstractXMLWritingIFDocumentHandler extends AbstractIFDocumentHandler
IFDocumentHandler
implementations.Modifier and Type | Field | 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 | Description |
---|---|---|
protected |
AbstractXMLWritingIFDocumentHandler(IFContext context) |
Modifier and Type | Method | 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, startPageTrailer
endDocument, endPage, endPageContent, endPageSequence, getConfigurator, getFontInfo, getMimeType, handleExtensionObject, setDefaultFontInfo, setFontInfo, startPage, startPageContent, startPageSequence, supportsPagesOutOfOrder
protected 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-2016 The Apache Software Foundation. All Rights Reserved.