|
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.InterEdgeParser
public class InterEdgeParser
This class can parse InterEdges from valid GML
Field Summary |
---|
Fields inherited from class y.io.gml.ItemParser |
---|
attributes, childMap, delegate, level |
Constructor Summary | |
---|---|
InterEdgeParser(Graph2D graph,
java.util.Map id2Edge,
HierarchicGraphParser parent)
|
Method Summary | |
---|---|
void |
end()
this method will be called as soon as the parser leaves the scope. |
protected Node |
findNode(java.lang.String pathName,
HierarchicGraphParser parser)
Retrieves the node by path name that has previously been constructed using HierarchicGraphObjectEncoder.createNodeReference(y.base.Graph, y.base.Node, y.view.hierarchy.HierarchyManager) . |
java.lang.Object |
getItem()
Returns the "product" of this scope. |
Methods inherited from class y.io.gml.ItemParser |
---|
addAttribute, 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 |
Constructor Detail |
---|
public InterEdgeParser(Graph2D graph, java.util.Map id2Edge, HierarchicGraphParser parent)
Method Detail |
---|
public void end()
ItemParser
end
in class ItemParser
protected Node findNode(java.lang.String pathName, HierarchicGraphParser parser)
HierarchicGraphObjectEncoder.createNodeReference(y.base.Graph, y.base.Node, y.view.hierarchy.HierarchyManager)
.
public java.lang.Object getItem()
ItemParser
ItemParser.end()
has been called. The latter should construct
the resulting item from the collected data and this item
should be returned by this method. By default, this method
return the map of the attributes.
getItem
in class ItemParser
Map
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |