com.google.inject.grapher.graphviz
Class ImplementationNodeFactory
java.lang.Object
com.google.inject.grapher.graphviz.ImplementationNodeFactory
- All Implemented Interfaces:
- ImplementationNode.Factory<String,ImplementationNode<String>>
public class ImplementationNodeFactory
- extends Object
- implements ImplementationNode.Factory<String,ImplementationNode<String>>
Graphviz-specific implementation of ImplementationNode.Factory. Uses
a BindingEdgeFactory.GraphvizEdgeAdaptor to delegate to a GraphvizNode.
- Author:
- phopkins@gmail.com (Pete Hopkins)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImplementationNodeFactory
@Inject
public ImplementationNodeFactory(GraphvizRenderer renderer,
NameFactory nameFactory,
PortIdFactory portIdFactory)
newImplementationNode
public ImplementationNode<String> newImplementationNode(String nodeId)
- Description copied from interface:
ImplementationNode.Factory
- Creates a new
ImplementationNode and adds it to the graph.
- Specified by:
newImplementationNode in interface ImplementationNode.Factory<String,ImplementationNode<String>>
- Parameters:
nodeId - ID for the node.
- Returns:
- The new
ImplementationNode instance.
newAdaptor
protected ImplementationNodeFactory.GraphvizNodeAdaptor newAdaptor(GraphvizNode node)
Copyright © 2006-2011 Google, Inc.. All Rights Reserved.