public abstract class AbstractBinaryWritingIFDocumentHandler extends AbstractIFDocumentHandler
IFDocumentHandler
implementations.Modifier and Type | Field and Description |
---|---|
protected FontInfo |
fontInfo
Font configuration
|
protected java.io.OutputStream |
outputStream
The output stream to write the document to
|
Constructor and Description |
---|
AbstractBinaryWritingIFDocumentHandler() |
Modifier and Type | Method and Description |
---|---|
void |
endDocument()
Indicates the end of a document.
|
FontInfo |
getFontInfo()
Returns the font set to work with.
|
void |
setDefaultFontInfo(FontInfo fontInfo)
Sets the default font set (with no custom configuration).
|
void |
setFontInfo(FontInfo fontInfo)
Sets the font set to work with.
|
void |
setResult(javax.xml.transform.Result result)
Sets the JAXP Result object to receive the generated content.
|
void |
startDocument()
Indicates the start of a document.
|
endDocumentHeader, endDocumentTrailer, endPageHeader, endPageTrailer, getContext, getDocumentNavigationHandler, getUserAgent, setContext, startDocumentHeader, startDocumentTrailer, startPageHeader, startPageTrailer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endPage, endPageContent, endPageSequence, getConfigurator, getMimeType, handleExtensionObject, startPage, startPageContent, startPageSequence, supportsPagesOutOfOrder
protected java.io.OutputStream outputStream
protected FontInfo fontInfo
public AbstractBinaryWritingIFDocumentHandler()
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 outputpublic FontInfo getFontInfo()
public void setFontInfo(FontInfo fontInfo)
fontInfo
- the font info objectpublic void setDefaultFontInfo(FontInfo fontInfo)
fontInfo
- the font info object to populatepublic void startDocument() throws IFException
startDocument
in interface IFDocumentHandler
startDocument
in class AbstractIFDocumentHandler
IFException
- if an error occurs while handling this eventpublic void endDocument() throws IFException
IFException
- if an error occurs while handling this eventCopyright 1999-2010 The Apache Software Foundation. All Rights Reserved.