aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/svg/SVGObj.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/svg/SVGObj.java')
-rw-r--r--src/org/apache/fop/svg/SVGObj.java39
1 files changed, 3 insertions, 36 deletions
diff --git a/src/org/apache/fop/svg/SVGObj.java b/src/org/apache/fop/svg/SVGObj.java
index 78a84bdda..f3f72b12a 100644
--- a/src/org/apache/fop/svg/SVGObj.java
+++ b/src/org/apache/fop/svg/SVGObj.java
@@ -16,51 +16,18 @@ import org.w3c.dom.Element;
public class SVGObj extends XMLObj {
/**
- * inner class for making svg objects.
- */
- public static class Maker extends FObj.Maker {
- String tag;
-
- Maker(String str) {
- tag = str;
- }
-
- /**
- * make an svg object.
- *
- * @param parent the parent formatting object
- * @param propertyList the explicit properties of this object
- *
- * @return the svg object
- */
- public FObj make(FObj parent,
- PropertyList propertyList) throws FOPException {
- return new SVGObj(parent, propertyList, tag);
- }
- }
-
- /**
- * returns the maker for this object.
- *
- * @return the maker for an svg object
- */
- public static FObj.Maker maker(String str) {
- return new SVGObj.Maker(str);
- }
-
- /**
* constructs an svg object (called by Maker).
*
* @param parent the parent formatting object
* @param propertyList the explicit properties of this object
*/
- protected SVGObj(FObj parent, PropertyList propertyList, String tag) {
- super(parent, propertyList, tag);
- this.name = "svg:" + tag;
+ public SVGObj(FObj parent) {
+ super(parent);
}
public String getNameSpace() {
return "http://www.w3.org/2000/svg";
}
+
}