public class BindingEdgeFactory extends Object implements BindingEdge.Factory<String,BindingEdge<String>>
BindingEdge.Factory
. Uses a
BindingEdgeFactory.GraphvizEdgeAdaptor
to delegate to a GraphvizEdge
.Modifier and Type | Class and Description |
---|---|
protected class |
BindingEdgeFactory.GraphvizEdgeAdaptor
Adaptor class that converts
BindingEdge methods to display
operations on a GraphvizEdge . |
Constructor and Description |
---|
BindingEdgeFactory(GraphvizRenderer renderer) |
Modifier and Type | Method and Description |
---|---|
protected BindingEdgeFactory.GraphvizEdgeAdaptor |
newAdaptor(GraphvizEdge edge) |
BindingEdge<String> |
newBindingEdge(String fromId,
String toId)
Creates a new
BindingEdge instance and adds it to the graph. |
@Inject public BindingEdgeFactory(GraphvizRenderer renderer)
public BindingEdge<String> newBindingEdge(String fromId, String toId)
BindingEdge.Factory
BindingEdge
instance and adds it to the graph.newBindingEdge
in interface BindingEdge.Factory<String,BindingEdge<String>>
fromId
- Node ID for the interface node.toId
- Node ID for the implementation (class or instance) node.BindingEdge
.protected BindingEdgeFactory.GraphvizEdgeAdaptor newAdaptor(GraphvizEdge edge)
Copyright © 2006-2012 Google, Inc.. All Rights Reserved.