1 51 package org.apache.fop.svg; 52 53 import org.apache.fop.fo.*; 54 import org.apache.fop.apps.FOPException; 55 56 public class SVGObj extends XMLObj { 57 60 public static class Maker extends FObj.Maker { 61 String tag; 62 63 Maker(String str) { 64 tag = str; 65 } 66 67 75 public FObj make(FObj parent, PropertyList propertyList, 76 String systemId, int line, int column) 77 throws FOPException { 78 return new SVGObj(parent, propertyList, tag, 79 systemId, line, column); 80 } 81 } 82 83 88 public static FObj.Maker maker(String str) { 89 return new SVGObj.Maker(str); 90 } 91 92 98 protected SVGObj(FObj parent, PropertyList propertyList, String tag, 99 String systemId, int line, int column) { 100 super(parent, propertyList, tag, systemId, line, column); 101 } 102 103 public String getName() { 104 return "svg:"+tagName; 105 } 106 107 public String getNameSpace() { 108 return "http://www.w3.org/2000/svg"; 109 } 110 } 111 112 | Popular Tags |