com.oy.shared.lm.in
Class ANTtoGRAPH
java.lang.Object
com.oy.shared.lm.in.ANTtoGRAPH
- public class ANTtoGRAPH
- extends java.lang.Object
|
Constructor Summary |
(package private) |
ANTtoGRAPH()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
graph
private Graph graph
nameToNode
private java.util.Map nameToNode
nameToGroup
private java.util.Map nameToGroup
options
private TaskOptions options
colors
private java.lang.String[] colors
COLOR_NORMAL
static final int COLOR_NORMAL
- See Also:
- Constant Field Values
COLOR_CONDITIONAL
static final int COLOR_CONDITIONAL
- See Also:
- Constant Field Values
COLOR_DEFAULT
static final int COLOR_DEFAULT
- See Also:
- Constant Field Values
COLOR_LINE_NORMAL
static final int COLOR_LINE_NORMAL
- See Also:
- Constant Field Values
COLOR_LINE_ANTCALL
static final int COLOR_LINE_ANTCALL
- See Also:
- Constant Field Values
COLOR_LINE_ANT
static final int COLOR_LINE_ANT
- See Also:
- Constant Field Values
COLOR_GROUP
static final int COLOR_GROUP
- See Also:
- Constant Field Values
ANTtoGRAPH
ANTtoGRAPH()
load
public static IGraphModel load(TaskOptions options)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
- Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
innerLoad
private IGraphModel innerLoad(TaskOptions options)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
- Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
simplifyGraph
private void simplifyGraph()
processTargetList
private void processTargetList(java.util.List nodes)
processAntcallList
private void processAntcallList(GraphNode parent,
java.util.List nodes)
processAntList
private void processAntList(GraphNode parent,
java.util.List nodes)
getOrCreateNode
private GraphNode getOrCreateNode(java.lang.String name)
styleNode
private void styleNode(GraphNode node,
java.lang.String name,
java.lang.String desc)
Copyright (C) 2005-2006 Pavel Simakov
http://www.softwaresecretweapons.com