org.apache.fop.area
Class CachedRenderPagesModel
java.lang.Object
|
+--org.apache.fop.area.AreaTreeModel
|
+--org.apache.fop.area.RenderPagesModel
|
+--org.apache.fop.area.CachedRenderPagesModel
- public class CachedRenderPagesModel
- extends RenderPagesModel
A simple cached render pages model.
If the page is prepared for later rendering then this saves
the page contents to a file and once the page is resolved
the contents are reloaded.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachedRenderPagesModel
public CachedRenderPagesModel(FOUserAgent userAgent,
java.lang.String outputFormat,
FontInfo fontInfo,
java.io.OutputStream stream)
throws FOPException
- Constructor
- See Also:
RenderPagesModel.RenderPagesModel(FOUserAgent, String, FontInfo, OutputStream)
checkPreparedPages
protected boolean checkPreparedPages(PageViewport newpage,
boolean renderUnresolved)
- Description copied from class:
RenderPagesModel
- Check prepared pages
- Overrides:
checkPreparedPages
in class RenderPagesModel
- See Also:
RenderPagesModel.checkPreparedPages(PageViewport, boolean)
savePage
protected void savePage(PageViewport page)
- Save a page.
It saves the contents of the page to a file.
- Parameters:
page
- the page to prepare
Copyright 1999-2005 The Apache Software Foundation. All Rights Reserved.