public interface IGraphElementResolver
Modifier and Type | Method and Description |
---|---|
IEdge |
resolveEdge(IParseContext context,
String id)
Resolve the GraphML
id to an IEdge instance. |
IGraph |
resolveGraph(IParseContext context,
String id)
Resolve the GraphML
id to an IGraph instance. |
INode |
resolveNode(IParseContext context,
String id)
Resolve the GraphML
id to an INode instance. |
IPort |
resolvePort(IParseContext context,
String ownerId,
String id)
Resolve the GraphML
id to an IPort instance. |
IEdge resolveEdge(IParseContext context, String id)
id
to an IEdge
instance.context
- The current parse context.id
- The id that should be resolved.IEdge
that is defined by this GraphML id
, or null
if no such edge exists yet.IGraph resolveGraph(IParseContext context, String id)
id
to an IGraph
instance.context
- The current parse context.id
- The id that should be resolved.IGraph
that is defined by this GraphML id
, or null
if no such graph exists yet.INode resolveNode(IParseContext context, String id)
id
to an INode
instance.context
- The current parse context.id
- The id that should be resolved.INode
that is defined by this GraphML id
, or null
if no such node exists yet.IPort resolvePort(IParseContext context, String ownerId, String id)
context
- The current parse context.ownerId
- The GraphML id of the port owner.id
- The id that should be resolved.IPort
that is defined by the GraphML ids, or null
if no such port exists yet.