org.skife.lucene.graph
Class SimpleValueMapper

java.lang.Object
  extended byorg.skife.lucene.graph.SimpleValueMapper
All Implemented Interfaces:
ValueMapper

public class SimpleValueMapper
extends java.lang.Object
implements ValueMapper

Simply uses String.valueOf(..) to build an indexable field value


Constructor Summary
SimpleValueMapper()
           
 
Method Summary
 java.lang.String build(java.lang.Object entity)
          Returns the value returned by String.valueOf(entity)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleValueMapper

public SimpleValueMapper()
Method Detail

build

public java.lang.String build(java.lang.Object entity)
Returns the value returned by String.valueOf(entity)

Specified by:
build in interface ValueMapper
Parameters:
entity - may be null
Returns:


Copyright © 2004 Brian McCallister. All Rights Reserved.