com.google.inject.grapher.graphviz
Class InterfaceNodeFactory
java.lang.Object
com.google.inject.grapher.graphviz.InterfaceNodeFactory
- All Implemented Interfaces:
- InterfaceNode.Factory<String,InterfaceNode<String>>
public class InterfaceNodeFactory
- extends Object
- implements InterfaceNode.Factory<String,InterfaceNode<String>>
Graphviz-specific implementation of InterfaceNode.Factory
. Uses
a 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 |
InterfaceNodeFactory
@Inject
public InterfaceNodeFactory(GraphvizRenderer renderer,
NameFactory nameFactory)
newInterfaceNode
public InterfaceNode<String> newInterfaceNode(String nodeId)
- Description copied from interface:
InterfaceNode.Factory
- Creates a new
InterfaceNode
and adds it to the graph.
- Specified by:
newInterfaceNode
in interface InterfaceNode.Factory<String,InterfaceNode<String>>
- Parameters:
nodeId
- ID for the node.
- Returns:
- The new
InterfaceNode
instance.
Copyright © 2006-2011 Google, Inc.. All Rights Reserved.