aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/flow/ExternalGraphic.java
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2001-11-06 08:34:53 +0000
committerKeiron Liddle <keiron@apache.org>2001-11-06 08:34:53 +0000
commit31965968c68717055bbd096b709df3e72ceb8b40 (patch)
tree92820b3533809c21ea4decd0069edbb1e858f064 /src/org/apache/fop/fo/flow/ExternalGraphic.java
parentcfc0da75fcc187e6dd7596e7480c4941e278b9d5 (diff)
downloadxmlgraphics-fop-31965968c68717055bbd096b709df3e72ceb8b40.tar.gz
xmlgraphics-fop-31965968c68717055bbd096b709df3e72ceb8b40.zip
changed the way that elements and properties are handled
the element makers are associated with the element mapping attributes are passed to the element object the object can then use the attributes to make the properties added default value for element handling, makes it easier to ensure all elements of an external xml markup are loaded (eg. svg) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194536 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/fo/flow/ExternalGraphic.java')
-rw-r--r--src/org/apache/fop/fo/flow/ExternalGraphic.java19
1 files changed, 2 insertions, 17 deletions
diff --git a/src/org/apache/fop/fo/flow/ExternalGraphic.java b/src/org/apache/fop/fo/flow/ExternalGraphic.java
index e5ce14930..5a988f7a0 100644
--- a/src/org/apache/fop/fo/flow/ExternalGraphic.java
+++ b/src/org/apache/fop/fo/flow/ExternalGraphic.java
@@ -36,13 +36,11 @@ public class ExternalGraphic extends FObj {
ImageArea imageArea;
-
- public ExternalGraphic(FObj parent, PropertyList propertyList) {
- super(parent, propertyList);
+ public ExternalGraphic(FObj parent) {
+ super(parent);
this.name = "fo:external-graphic";
}
-
public Status layout(Area area) throws FOPException {
if (this.marker == START) {
@@ -251,18 +249,5 @@ public class ExternalGraphic extends FObj {
return new Status(Status.OK);
}
-
- public static FObj.Maker maker() {
- return new ExternalGraphic.Maker();
- }
-
-
- public static class Maker extends FObj.Maker {
- public FObj make(FObj parent,
- PropertyList propertyList) throws FOPException {
- return new ExternalGraphic(parent, propertyList);
- }
-
- }
}