edu.umd.cs.jazz.io.svg
Class SVG
java.lang.Object
|
+--edu.umd.cs.jazz.io.svg.SVG
- public class SVG
- extends java.lang.Object
Loading SVG file and parsing it
returning a svg node by requesting
Field Summary |
protected org.w3c.dom.Node |
currentNode
|
protected static org.w3c.dom.Document |
document
|
protected GNode |
groot
|
protected org.w3c.dom.Node |
root
|
protected java.lang.String |
url
|
Constructor Summary |
SVG()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
document
protected static org.w3c.dom.Document document
root
protected org.w3c.dom.Node root
groot
protected GNode groot
currentNode
protected org.w3c.dom.Node currentNode
url
protected java.lang.String url
SVG
public SVG()
getRoot
public GNode getRoot()
loadFromStream
public void loadFromStream(java.io.InputStream is)
loadFromURI
public void loadFromURI(java.lang.String uri)
loadFromFile
public void loadFromFile(java.io.File file)
findNode
public org.w3c.dom.Node findNode(java.lang.String id)
findNode
public org.w3c.dom.Node findNode(org.w3c.dom.Node node,
java.lang.String id)
getNextNode
public GNode getNextNode(java.util.Vector GNodes)
makeNode
protected GNode makeNode(org.w3c.dom.Node node,
java.util.Vector GNodes)
Copyright © 2001 by University of Maryland, College Park, MD 20742, USA All rights reserved.