uci.xml.pgml
Class PGMLParser
uci.xml.pgml.PGMLParser
- public class PGMLParser
SINGLETON
public static PGMLParser SINGLETON
_diagram
protected Diagram _diagram
_nestedGroups
protected int _nestedGroups
_figRegistry
protected Hashtable _figRegistry
_ownerRegistry
protected Hashtable _ownerRegistry
PGMLParser
protected PGMLParser()
readDiagram
public Diagram readDiagram(URL url)
setOwnerRegistery
public void setOwnerRegistery(Hashtable owners)
initDiagram
protected void initDiagram(String diagDescr)
handleStartTag
public void handleStartTag(uci.xml.pgml.TXElement e,
boolean empty)
handleEndTag
public void handleEndTag(uci.xml.pgml.TXElement e,
boolean empty)
handleElement
public uci.xml.pgml.TXElement handleElement(uci.xml.pgml.TXElement e)
handlePGML
protected void handlePGML(uci.xml.pgml.TXElement e)
handlePolyLine
protected Fig handlePolyLine(uci.xml.pgml.TXElement e)
handleLine
protected FigLine handleLine(uci.xml.pgml.TXElement e)
handleEllipse
protected FigCircle handleEllipse(uci.xml.pgml.TXElement e)
handleRect
protected FigRect handleRect(uci.xml.pgml.TXElement e)
handleText
protected FigText handleText(uci.xml.pgml.TXElement e)
handlePath
protected FigPoly handlePath(uci.xml.pgml.TXElement e)
handleGroup
protected Fig handleGroup(uci.xml.pgml.TXElement e)
setAttrs
protected void setAttrs(Fig f,
uci.xml.pgml.TXElement e)
findOwner
protected Object findOwner(String uri)
findFig
protected Fig findFig(String uri)
getGraphModelFor
protected GraphModel getGraphModelFor(String desc)
colorByName
protected Color colorByName(String name,
Color defaultColor)