|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.io.graphml.output.DefaultGraphElementIdProvider
public class DefaultGraphElementIdProvider
Default implementation of GraphElementIdProvider
that provides canonical ids
for graphml elements.
Constructor Summary | |
---|---|
DefaultGraphElementIdProvider()
|
Method Summary | |
---|---|
java.lang.String |
getEdgeId(Edge o,
GraphMLWriteContext context)
Get an ID for the specified edge Object |
java.lang.String |
getGraphId(Graph o,
GraphMLWriteContext context)
Get an ID for the specified graph Object |
java.lang.String |
getNodeId(Node o,
GraphMLWriteContext context)
Get an ID for the specified node Object |
java.lang.String |
getPortId(Port port,
Node owner,
GraphMLWriteContext context)
Get an ID for the specified port Object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultGraphElementIdProvider()
Method Detail |
---|
public java.lang.String getGraphId(Graph o, GraphMLWriteContext context)
GraphElementIdProvider
getGraphId
in interface GraphElementIdProvider
o
- the current graph Objectcontext
- the current write context, for further information to the provider
public java.lang.String getNodeId(Node o, GraphMLWriteContext context)
GraphElementIdProvider
getNodeId
in interface GraphElementIdProvider
o
- the current node Objectcontext
- the current write context, for further information to the provider
public java.lang.String getEdgeId(Edge o, GraphMLWriteContext context)
GraphElementIdProvider
getEdgeId
in interface GraphElementIdProvider
o
- the current edge Objectcontext
- the current write context, for further information to the provider
public java.lang.String getPortId(Port port, Node owner, GraphMLWriteContext context)
GraphElementIdProvider
getPortId
in interface GraphElementIdProvider
port
- the current port Objectowner
- the node that owns the current portcontext
- the current write context, for further information to the provider
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |