com.google.inject.grapher
Class StringNodeIdFactory

java.lang.Object
  extended by com.google.inject.grapher.StringNodeIdFactory
All Implemented Interfaces:
NodeIdFactory<String>

public class StringNodeIdFactory
extends Object
implements NodeIdFactory<String>

IdFactory implementation that for String node IDs. The IDs are comprised of letters, numbers and underscores.

Author:
phopkins@gmail.com (Pete Hopkins)

Constructor Summary
StringNodeIdFactory()
           
 
Method Summary
 String getClassNodeId(Key<?> key)
           
 String getInstanceNodeId(Key<?> key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringNodeIdFactory

public StringNodeIdFactory()
Method Detail

getClassNodeId

public String getClassNodeId(Key<?> key)
Specified by:
getClassNodeId in interface NodeIdFactory<String>

getInstanceNodeId

public String getInstanceNodeId(Key<?> key)
Specified by:
getInstanceNodeId in interface NodeIdFactory<String>


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