org.apache.fop.fo.pagination
Class Region
java.lang.Object
|
+--org.apache.fop.fo.FONode
|
+--org.apache.fop.fo.FObj
|
+--org.apache.fop.fo.pagination.Region
- Direct Known Subclasses:
- RegionAfter, RegionBefore, RegionBody, RegionEnd, RegionStart
- public abstract class Region
- extends FObj
Abstract base class for pagination regions.
Fields inherited from class org.apache.fop.fo.FONode |
areaClass, areasGenerated, BREAK_AFTER, children, forcedStartOffset, forcedWidth, isInTableCell, linkSet, log, marker, parent, START |
Constructor Summary |
protected |
Region(FObj parent,
PropertyList propertyList,
java.lang.String systemId,
int line,
int column)
|
Methods inherited from class org.apache.fop.fo.FONode |
addChild, forceStartOffset, forceWidth, getLinkSet, getMarkerSnapshot, getParent, mayPrecedeMarker, removeAreas, resetMarker, rollback, setIsInTableCell, setLinkSet, setLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_REGION_NAME
public static final java.lang.String PROP_REGION_NAME
Region
protected Region(FObj parent,
PropertyList propertyList,
java.lang.String systemId,
int line,
int column)
throws FOPException
getDefaultRegionName
protected abstract java.lang.String getDefaultRegionName()
- Returns the default region name (xsl-region-before, xsl-region-start,
etc.)
getRegionClass
public abstract java.lang.String getRegionClass()
getRegionName
public java.lang.String getRegionName()
- Returns the name of this region
getPageMaster
protected SimplePageMaster getPageMaster()
isReserved
protected boolean isReserved(java.lang.String name)
throws FOPException
- Checks to see if a given region name is one of the reserved names
- Parameters:
name
- a region name to check- Returns:
- true if the name parameter is a reserved region name
generatesReferenceAreas
public boolean generatesReferenceAreas()
- Overrides:
generatesReferenceAreas
in class FObj
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.