org.tm4j.panckoucke.impl.renderer .GraphMLRenderer

Description

This class implements the renderer interface and renders the model as XML. The GraphML-Schema is used for the XML-Type @see http://graphml.graphdrawing.org/xmlns/1.0rc/graphml-structure.xsd. The graphs contain nodes, edges and hyperedges. Each AMNode is represented by a element. AMArc objects are represented by -elements, if there is only one endnode and by -elements if there are more than one endnode. The AMMember attributes (Gestalt, DataLocator, Label and RepresentedObjects) are defined by data elements as childs of the -, - or -elements. The data elements reference the key elements: edge.gestalt, node.gestalt edge.label, node.label edge.tmobject, node.tmobject edge.locator.notation, node.locator.notation edge.locator.address, node.locator.address

Inheritance Hierarchy

Field Summary
centerNode
org.tm4j.panckoucke.impl.renderer.GraphMLRenderer.searchCenterNode
Method Summary
void buildXML(org.tm4j.panckoucke.model.AMNode center,java.lang.Object streamObject)
void serializeNodes(java.util.Set nodes,java.util.Set arcs)
Adds a Tag for every node, contained in the set
void setGraphID(java.lang.String id)
The graph ID can be set here (The id-Attribute of the -Tag)