aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/pagination/LayoutMasterSet.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/fo/pagination/LayoutMasterSet.java')
-rw-r--r--src/org/apache/fop/fo/pagination/LayoutMasterSet.java22
1 files changed, 7 insertions, 15 deletions
diff --git a/src/org/apache/fop/fo/pagination/LayoutMasterSet.java b/src/org/apache/fop/fo/pagination/LayoutMasterSet.java
index 1c5b85118..8ac2e8fc9 100644
--- a/src/org/apache/fop/fo/pagination/LayoutMasterSet.java
+++ b/src/org/apache/fop/fo/pagination/LayoutMasterSet.java
@@ -16,19 +16,9 @@ import org.apache.fop.layout.PageMaster;
// Java
import java.util.*;
-public class LayoutMasterSet extends FObj {
-
- public static class Maker extends FObj.Maker {
- public FObj make(FObj parent,
- PropertyList propertyList) throws FOPException {
- return new LayoutMasterSet(parent, propertyList);
- }
-
- }
+import org.xml.sax.Attributes;
- public static FObj.Maker maker() {
- return new LayoutMasterSet.Maker();
- }
+public class LayoutMasterSet extends FObj {
private Hashtable simplePageMasters;
private Hashtable pageSequenceMasters;
@@ -36,11 +26,13 @@ public class LayoutMasterSet extends FObj {
private Root root;
- protected LayoutMasterSet(FObj parent,
- PropertyList propertyList) throws FOPException {
- super(parent, propertyList);
+ public LayoutMasterSet(FObj parent) {
+ super(parent);
this.name = "fo:layout-master-set";
+ }
+ public void handleAttrs(Attributes attlist) throws FOPException {
+ super.handleAttrs(attlist);
this.simplePageMasters = new Hashtable();
this.pageSequenceMasters = new Hashtable();