|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.io.gml.ItemParser y.io.gml.GraphParser y.io.gml.HierarchicGraphParser
public class HierarchicGraphParser
This class works together with HierarchyNodeParser and HierarchyEdgeParser instances. It can parse the .graph scope of a hierarchic graph gml file. It will store the mapping between folder ids (Integer) to element folder parsers in the graph.
Field Summary | |
---|---|
protected java.util.Map |
folderNodeId2Parser
Used to associate a HierarchyNodeParser the the id of the group node that it needs to parse. |
protected java.util.Map |
gid2ChildMap
Used to associate a NodeList containing the children of a group node with the id of that group node. |
Fields inherited from class y.io.gml.GraphParser |
---|
graph, id2Edge, id2Node |
Fields inherited from class y.io.gml.ItemParser |
---|
attributes, childMap, delegate, level |
Constructor Summary | |
---|---|
HierarchicGraphParser(Graph2D graph)
|
Method Summary | |
---|---|
void |
end()
Groups the graph according to the grouping information that has been parsed. |
Methods inherited from class y.io.gml.GraphParser |
---|
addAttribute, getId2Edge, getId2Node, getItem |
Methods inherited from class y.io.gml.ItemParser |
---|
addChild, attribute, attribute, begin, beginScope, childFinished, endScope, getAttributes, getBoolean, getDouble, getDouble, getInt, getInt, getLevel, getString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map folderNodeId2Parser
protected java.util.Map gid2ChildMap
Constructor Detail |
---|
public HierarchicGraphParser(Graph2D graph)
Method Detail |
---|
public void end()
end
in class GraphParser
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |