可以从一个URI中使用SAXSVGDocumentFactory中创建一个SVG DOM树
String parser=XMLResourceDescriptor.getXMLParserClassName();
SAXSVGDocumentFactory f=new SAXSVGDocumentFactory(parser);
Document doc=f.createDocument(uri)
GLIPSGraffiti中用到的batik的包是修改过的,直接用了
SAXSVGDocumentFactory f=new SAXSVGDocumentFactory();