com.google.inject.grapher.graphviz
Class ImplementationNodeFactory.GraphvizNodeAdaptor
java.lang.Object
com.google.inject.grapher.graphviz.ImplementationNodeFactory.GraphvizNodeAdaptor
- All Implemented Interfaces:
- ImplementationNode<String>
- Enclosing class:
- ImplementationNodeFactory
protected class ImplementationNodeFactory.GraphvizNodeAdaptor
- extends Object
- implements ImplementationNode<String>
Adaptor class that converts ImplementationNode
methods to display
operations on a GraphvizNode
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
node
protected final GraphvizNode node
ImplementationNodeFactory.GraphvizNodeAdaptor
public ImplementationNodeFactory.GraphvizNodeAdaptor(GraphvizNode node)
setClassKey
public void setClassKey(Key<?> key)
- Description copied from interface:
ImplementationNode
- Sets the
Key
that this node is for. Used when the node is
representing a class that Guice will instantiate.
- Specified by:
setClassKey
in interface ImplementationNode<String>
setInstance
public void setInstance(Object instance)
- Description copied from interface:
ImplementationNode
- Sets the
Object
that's the already-created instance. Used when
this node is represeting the instance instead of a class.
- Specified by:
setInstance
in interface ImplementationNode<String>
setSource
public void setSource(Object source)
- Specified by:
setSource
in interface ImplementationNode<String>
addMember
public void addMember(Member member)
- Specified by:
addMember
in interface ImplementationNode<String>
Copyright © 2006-2011 Google, Inc.. All Rights Reserved.