com.oy.shared.lm.in
Class DTDtoGRAPH
java.lang.Object
com.oy.shared.lm.in.DTDtoGRAPH
- public class DTDtoGRAPH
- extends java.lang.Object
|
Constructor Summary |
(package private) |
DTDtoGRAPH()
|
| 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
options
private TaskOptions options
colors
private java.lang.String[] colors
COLOR_NORMAL
static final int COLOR_NORMAL
- See Also:
- Constant Field Values
COLOR_LINE_CHOICE
static final int COLOR_LINE_CHOICE
- See Also:
- Constant Field Values
COLOR_LINE_SEQUENCE
static final int COLOR_LINE_SEQUENCE
- See Also:
- Constant Field Values
COLOR_LINE_MIXED
static final int COLOR_LINE_MIXED
- See Also:
- Constant Field Values
DTDtoGRAPH
DTDtoGRAPH()
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
walkDependencyTree
private void walkDependencyTree(DTDItem item,
java.util.List list,
boolean isChoice,
boolean isSequence)
processEntitiesList
private void processEntitiesList(java.util.Enumeration elements)
getOrCreateNode
private GraphNode getOrCreateNode(java.lang.String name)
styleNode
private void styleNode(GraphNode node,
java.lang.String name)
Copyright (C) 2005-2006 Pavel Simakov
http://www.softwaresecretweapons.com