diff options
Diffstat (limited to 'src/org/apache/fop/fo/pagination/PageSequenceMaster.java')
-rw-r--r-- | src/org/apache/fop/fo/pagination/PageSequenceMaster.java | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/src/org/apache/fop/fo/pagination/PageSequenceMaster.java b/src/org/apache/fop/fo/pagination/PageSequenceMaster.java index 018356f7a..6be32ac1e 100644 --- a/src/org/apache/fop/fo/pagination/PageSequenceMaster.java +++ b/src/org/apache/fop/fo/pagination/PageSequenceMaster.java @@ -16,19 +16,9 @@ import org.apache.fop.apps.FOPException; // Java import java.util.*; -public class PageSequenceMaster extends FObj { - - public static class Maker extends FObj.Maker { - public FObj make(FObj parent, - PropertyList propertyList) throws FOPException { - return new PageSequenceMaster(parent, propertyList); - } - - } +import org.xml.sax.Attributes; - public static FObj.Maker maker() { - return new PageSequenceMaster.Maker(); - } +public class PageSequenceMaster extends FObj { LayoutMasterSet layoutMasterSet; Vector subSequenceSpecifiers; @@ -40,10 +30,13 @@ public class PageSequenceMaster extends FObj { // references to page-masters. So the methods use the former // terminology ('sub-sequence-specifiers', or SSS), // but the actual FO's are MasterReferences. - protected PageSequenceMaster(FObj parent, PropertyList propertyList) - throws FOPException { - super(parent, propertyList); + public PageSequenceMaster(FObj parent) { + super(parent); this.name = "fo:page-sequence-master"; + } + + public void handleAttrs(Attributes attlist) throws FOPException { + super.handleAttrs(attlist); subSequenceSpecifiers = new Vector(); |