com.google.inject.grapher
Interface ImplementationNode.Factory<K,T extends ImplementationNode<K>>

Type Parameters:
K - The type for node IDs.
T - The ImplementationNode sub-type that this factory provides.
All Known Implementing Classes:
ImplementationNodeFactory
Enclosing interface:
ImplementationNode<K>

public static interface ImplementationNode.Factory<K,T extends ImplementationNode<K>>

Factory interface for ImplementationNodes. Renderer implementations will need to provide an implementation for this.


Method Summary
 T newImplementationNode(K nodeId)
          Creates a new ImplementationNode and adds it to the graph.
 

Method Detail

newImplementationNode

T newImplementationNode(K nodeId)
Creates a new ImplementationNode and adds it to the graph.

Parameters:
nodeId - ID for the node.
Returns:
The new ImplementationNode instance.


Copyright © 2006-2011 Google, Inc.. All Rights Reserved.