|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.render.intermediate.AbstractIFDocumentHandler
org.apache.fop.render.intermediate.AbstractBinaryWritingIFDocumentHandler
public abstract class AbstractBinaryWritingIFDocumentHandler
Abstract base class for binary-writing IFDocumentHandler implementations.
| Field Summary | |
|---|---|
protected FontInfo |
fontInfo
Font configuration |
protected java.io.OutputStream |
outputStream
The output stream to write the document to |
| Constructor Summary | |
|---|---|
AbstractBinaryWritingIFDocumentHandler()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.fop.render.intermediate.AbstractIFDocumentHandler |
|---|
endDocumentHeader, endDocumentTrailer, endPageHeader, endPageTrailer, getContext, getDocumentNavigationHandler, getStructureTreeEventHandler, getUserAgent, setContext, setDocumentLocale, startDocumentHeader, startDocumentTrailer, startPageHeader, startPageTrailer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.fop.render.intermediate.IFDocumentHandler |
|---|
endPage, endPageContent, endPageSequence, getConfigurator, getMimeType, handleExtensionObject, startPage, startPageContent, startPageSequence, supportsPagesOutOfOrder |
| Field Detail |
|---|
protected java.io.OutputStream outputStream
protected FontInfo fontInfo
| Constructor Detail |
|---|
public AbstractBinaryWritingIFDocumentHandler()
| Method Detail |
|---|
public void setResult(javax.xml.transform.Result result)
throws IFException
result - the JAXP Result object to receive the generated content
IFException - 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 populate
public void startDocument()
throws IFException
startDocument in interface IFDocumentHandlerstartDocument in class AbstractIFDocumentHandlerIFException - if an error occurs while handling this event
public void endDocument()
throws IFException
IFException - if an error occurs while handling this event
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||