aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/Unknown.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/fo/Unknown.java')
-rw-r--r--src/org/apache/fop/fo/Unknown.java18
1 files changed, 5 insertions, 13 deletions
diff --git a/src/org/apache/fop/fo/Unknown.java b/src/org/apache/fop/fo/Unknown.java
index 43cd255e8..0ab6c80e7 100644
--- a/src/org/apache/fop/fo/Unknown.java
+++ b/src/org/apache/fop/fo/Unknown.java
@@ -23,22 +23,14 @@ import org.apache.fop.apps.FOPException;
*/
public class Unknown extends FObj {
- public static class Maker extends FObj.Maker {
- public FObj make(FObj parent,
- PropertyList propertyList) throws FOPException {
- return new Unknown(parent, propertyList);
+ public static class Maker extends ElementMapping.Maker {
+ public FObj make(FObj parent) {
+ return new Unknown(parent);
}
-
- }
-
- public static FObj.Maker maker() {
- return new Unknown.Maker();
}
- protected Unknown(FObj parent,
- PropertyList propertyList) throws FOPException {
- super(parent, propertyList);
- this.name = "unknown";
+ public Unknown(FObj parent) {
+ super(parent);
}
public Status layout(Area area) throws FOPException {