|
fop 0.90alpha1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.fop.area.Page
The page. This holds the contents of the page. Each region is added. The unresolved references area added so that if the page is serialized then it will handle the resolving properly after being reloaded. This is serializable so it can be saved to cache to save memory if there are forward references. The page is cloneable so the page master can make copies of the top level page and regions.
Constructor Summary | |
Page()
Empty constructor, for cloning |
|
Page(SimplePageMaster spm)
Constructor |
Method Summary | |
java.lang.Object |
clone()
Clone this page. |
void |
fakeNonEmpty()
Call this method to force this page to pretend not to be empty. |
RegionViewport |
getRegionViewport(int areaclass)
Get the region from this page. |
java.util.HashMap |
getUnresolvedReferences()
Get the map unresolved references from this page. |
boolean |
isEmpty()
indicates whether any FOs have been added to the body region |
void |
setUnresolvedReferences(java.util.HashMap unres)
Set the unresolved references on this page for serializing. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Page()
public Page(SimplePageMaster spm)
spm
- SimplePageMaster containing the dimensions for this
page-reference-areaMethod Detail |
public void fakeNonEmpty()
public RegionViewport getRegionViewport(int areaclass)
areaclass
- the region area classpublic boolean isEmpty()
public java.lang.Object clone()
clone
in class java.lang.Object
public void setUnresolvedReferences(java.util.HashMap unres)
unres
- the HashMap of unresolved objectspublic java.util.HashMap getUnresolvedReferences()
|
fop 0.90alpha1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |