diff options
Diffstat (limited to 'src/org/apache/fop/fo/flow/Marker.java')
-rw-r--r-- | src/org/apache/fop/fo/flow/Marker.java | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/src/org/apache/fop/fo/flow/Marker.java b/src/org/apache/fop/fo/flow/Marker.java index 0eb0baaa5..8267dcdf5 100644 --- a/src/org/apache/fop/fo/flow/Marker.java +++ b/src/org/apache/fop/fo/flow/Marker.java @@ -14,27 +14,20 @@ import org.apache.fop.layout.*; import org.apache.fop.datatypes.*; import org.apache.fop.apps.FOPException; +import org.xml.sax.Attributes; + public class Marker extends FObjMixed { private String markerClassName; private Area registryArea; - public static class Maker extends FObj.Maker { - public FObj make(FObj parent, - PropertyList propertyList) throws FOPException { - return new Marker(parent, propertyList); - } - - } - - public static FObj.Maker maker() { - return new Marker.Maker(); - } - - public Marker(FObj parent, PropertyList propertyList) { - super(parent, propertyList); + public Marker(FObj parent) { + super(parent); this.name = "fo:marker"; + } + public void handleAttrs(Attributes attlist) throws FOPException { + super.handleAttrs(attlist); // do check to see that 'this' is under fo:flow this.markerClassName = |