diff options
Diffstat (limited to 'src/org/apache/fop/fo/pagination/RegionAfter.java')
-rw-r--r-- | src/org/apache/fop/fo/pagination/RegionAfter.java | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/src/org/apache/fop/fo/pagination/RegionAfter.java b/src/org/apache/fop/fo/pagination/RegionAfter.java index 39fe22d1a..e57034161 100644 --- a/src/org/apache/fop/fo/pagination/RegionAfter.java +++ b/src/org/apache/fop/fo/pagination/RegionAfter.java @@ -15,27 +15,20 @@ import org.apache.fop.layout.RegionArea; import org.apache.fop.layout.BorderAndPadding; import org.apache.fop.layout.BackgroundProps; -public class RegionAfter extends Region { - - public static class Maker extends FObj.Maker { - public FObj make(FObj parent, - PropertyList propertyList) throws FOPException { - return new RegionAfter(parent, propertyList); - } - - } +import org.xml.sax.Attributes; - public static FObj.Maker maker() { - return new RegionAfter.Maker(); - } +public class RegionAfter extends Region { public static final String REGION_CLASS = "after"; private int precedence; - protected RegionAfter(FObj parent, - PropertyList propertyList) throws FOPException { - super(parent, propertyList); + public RegionAfter(FObj parent) { + super(parent); + } + + public void handleAttrs(Attributes attlist) throws FOPException { + super.handleAttrs(attlist); precedence = this.properties.get("precedence").getEnum(); } |