diff options
Diffstat (limited to 'src/org/apache/fop/fo/flow/RetrieveMarker.java')
-rw-r--r-- | src/org/apache/fop/fo/flow/RetrieveMarker.java | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/src/org/apache/fop/fo/flow/RetrieveMarker.java b/src/org/apache/fop/fo/flow/RetrieveMarker.java index 67e9f5047..b7f322522 100644 --- a/src/org/apache/fop/fo/flow/RetrieveMarker.java +++ b/src/org/apache/fop/fo/flow/RetrieveMarker.java @@ -17,28 +17,21 @@ import org.apache.fop.apps.FOPException; // Java import java.util.Vector; +import org.xml.sax.Attributes; + public class RetrieveMarker extends FObjMixed { private String retrieveClassName; private int retrievePosition; private int retrieveBoundary; - public static class Maker extends FObj.Maker { - public FObj make(FObj parent, - PropertyList propertyList) throws FOPException { - return new RetrieveMarker(parent, propertyList); - } - - } - - public static FObj.Maker maker() { - return new RetrieveMarker.Maker(); - } - - public RetrieveMarker(FObj parent, PropertyList propertyList) { - super(parent, propertyList); + public RetrieveMarker(FObj parent) { + super(parent); this.name = "fo:retrieve-marker"; + } + public void handleAttrs(Attributes attlist) throws FOPException { + super.handleAttrs(attlist); this.retrieveClassName = this.properties.get("retrieve-class-name").getString(); this.retrievePosition = |