org.skife.lucene.graph
Class SimpleNameMapper

java.lang.Object
  extended byorg.skife.lucene.graph.SimpleNameMapper
All Implemented Interfaces:
NameMapper

public class SimpleNameMapper
extends java.lang.Object
implements NameMapper

NameMapper which returns the lowercased base name of the class of the instance passed in. For instance, java.lang.String would return string


Constructor Summary
SimpleNameMapper()
           
 
Method Summary
 java.lang.String build(java.lang.Object entity)
          Returns the lowercased base name of the class of the instance passed in.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleNameMapper

public SimpleNameMapper()
Method Detail

build

public java.lang.String build(java.lang.Object entity)
Returns the lowercased base name of the class of the instance passed in.

Specified by:
build in interface NameMapper


Copyright © 2004 Brian McCallister. All Rights Reserved.