org.hibernate.search.bridge.builtin
Class DoubleBridge

java.lang.Object
  extended by org.hibernate.search.bridge.builtin.NumberBridge
      extended by org.hibernate.search.bridge.builtin.DoubleBridge
All Implemented Interfaces:
StringBridge, TwoWayStringBridge

public class DoubleBridge
extends NumberBridge

Map a double element

Author:
Emmanuel Bernard

Constructor Summary
DoubleBridge()
           
 
Method Summary
 java.lang.Object stringToObject(java.lang.String stringValue)
          Convert the index string representation to an object.
 
Methods inherited from class org.hibernate.search.bridge.builtin.NumberBridge
objectToString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleBridge

public DoubleBridge()
Method Detail

stringToObject

public java.lang.Object stringToObject(java.lang.String stringValue)
Description copied from interface: TwoWayStringBridge
Convert the index string representation to an object.

Parameters:
stringValue - The index value.
Returns:
Takes the string representation from the Lucene index and transforms it back into the original Object.


Copyright © 2006-2010 Hibernate. All Rights Reserved.