com.yworks.yfiles.server.graphml.support
Class DotnetHierarchyGraphElementFactory

java.lang.Object
  extended byyext.graphml.reader.YGraphElementFactory
      extended byyext.graphml.compat.DotnetGraphElementFactory
          extended bycom.yworks.yfiles.server.graphml.support.DotnetHierarchyGraphElementFactory
All Implemented Interfaces:
AttributeConstants, AttributeFactory, GraphElementFactory

public class DotnetHierarchyGraphElementFactory
extends DotnetGraphElementFactory

Dotnet-compat graph element factory that can handle grouping. TODO Newer GraphML versions won't register grouping data providers unconditionally.


Nested Class Summary
 
Nested classes inherited from class yext.graphml.reader.YGraphElementFactory
YGraphElementFactory.AttributeData
 
Field Summary
 
Fields inherited from class yext.graphml.reader.YGraphElementFactory
attributeList, attributeMap, createdGraphList, graphImpl, graphList
 
Fields inherited from interface org.graphdrawing.graphml.reader.GraphElementFactory
EDGEDEFAULT_DIRECTED, EDGEDEFAULT_UNDIRECTED, HYPEREDGE_TYPE_INT, HYPEREDGE_TYPE_OUT, HYPEREDGE_TYPE_UNDIR
 
Fields inherited from interface org.graphdrawing.graphml.attr.AttributeConstants
TYPE_BOOLEAN, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT, TYPE_LONG, TYPE_STRING
 
Constructor Summary
DotnetHierarchyGraphElementFactory(Graph graph)
          Creates a new factory using a given graph instance to store the data.
 
Method Summary
 Object createGraph(GraphMLParseContext context, String id, int edgedefault)
           
 
Methods inherited from class yext.graphml.compat.DotnetGraphElementFactory
createEdge, createNode, createPort
 
Methods inherited from class yext.graphml.reader.YGraphElementFactory
createAttribute, createEndPoint, createGraphML, createHyperEdge, defineAttribute, getGraphList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DotnetHierarchyGraphElementFactory

public DotnetHierarchyGraphElementFactory(Graph graph)
Creates a new factory using a given graph instance to store the data.

Parameters:
graph - the data of the first graph in the input is stored here.
Method Detail

createGraph

public Object createGraph(GraphMLParseContext context,
                          String id,
                          int edgedefault)


Copyright © 2000-2007 yWorks GmbH. All rights reserved