|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.grapher.graphviz.DependencyEdgeFactory
public class DependencyEdgeFactory
Graphviz-specific implementation of DependencyEdge.Factory. Uses a
DependencyEdgeFactory.GraphvizEdgeAdaptor to delegate to a GraphvizEdge.
| Nested Class Summary | |
|---|---|
protected class |
DependencyEdgeFactory.GraphvizEdgeAdaptor
Adaptor class that converts DependencyEdge methods to display
operations on a GraphvizEdge. |
| Constructor Summary | |
|---|---|
DependencyEdgeFactory(GraphvizRenderer renderer,
PortIdFactory portIdFactory)
|
|
| Method Summary | |
|---|---|
protected DependencyEdgeFactory.GraphvizEdgeAdaptor |
newAdaptor(GraphvizEdge edge)
|
DependencyEdge<java.lang.String> |
newDependencyEdge(java.lang.String fromId,
InjectionPoint fromPoint,
java.lang.String toId)
Creates a new DependencyEdge and adds it to the graph. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Inject
public DependencyEdgeFactory(GraphvizRenderer renderer,
PortIdFactory portIdFactory)
| Method Detail |
|---|
public DependencyEdge<java.lang.String> newDependencyEdge(java.lang.String fromId,
InjectionPoint fromPoint,
java.lang.String toId)
DependencyEdge.FactoryDependencyEdge and adds it to the graph.
newDependencyEdge in interface DependencyEdge.Factory<java.lang.String,DependencyEdge<java.lang.String>>fromId - The ID for the class or instance node that has the
dependency.fromPoint - The point where the dependency will be
@Injected.toId - The ID for the interface node that satisfies the dependency.protected DependencyEdgeFactory.GraphvizEdgeAdaptor newAdaptor(GraphvizEdge edge)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||