|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fdda.plugins.xmlreader.GraphicsReader
Provides static helper methods to read the graphical components for the java2d component out of an XML document.
Method Summary | |
static Line |
readLine(Element element,
ErrorHandler handler,
String connID,
Node startNode,
Node endNode,
boolean directed)
Reads a line from the DOM. |
static Node |
readNode(Element xmlNode,
ErrorHandler handler,
String id)
Reads a node |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Node readNode(Element xmlNode, ErrorHandler handler, String id)
xmlNode
- the node in the DOM that contains the graphical node infohandler
- the error handlerid
- ID for the new node
public static Line readLine(Element element, ErrorHandler handler, String connID, Node startNode, Node endNode, boolean directed)
element
- the DOM element containing the data of the linehandler
- the error handlerconnID
- ID of the connection represented by the linestartNode
- start node of the lineendNode
- end node of the linedirected
- whether the connection is directed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |