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.
|
Constructor and Description |
---|
AbstractXMLWritingIFDocumentHandler() |
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, getUserAgent, setContext, startDocument, startDocumentHeader, startDocumentTrailer, startPageHeader, startPageTrailer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endDocument, endPage, endPageContent, endPageSequence, getConfigurator, getFontInfo, getMimeType, handleExtensionObject, setDefaultFontInfo, setFontInfo, startPage, startPageContent, startPageSequence, supportsPagesOutOfOrder
protected javax.xml.transform.sax.SAXTransformerFactory tFactory
protected GenerationHelperContentHandler handler
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-2010 The Apache Software Foundation. All Rights Reserved.