org.hibernate.search.bridge.builtin
Class StringBridge

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

public class StringBridge
extends Object
implements TwoWayStringBridge

Map a string element

Author:
Emmanuel Bernard

Constructor Summary
StringBridge()
           
 
Method Summary
 String objectToString(Object object)
          convert the object representation to a String The return String must not be null, it can be empty though
 Object stringToObject(String stringValue)
          Convert the string representation to an object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringBridge

public StringBridge()
Method Detail

stringToObject

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

Specified by:
stringToObject in interface TwoWayStringBridge

objectToString

public String objectToString(Object object)
Description copied from interface: StringBridge
convert the object representation to a String The return String must not be null, it can be empty though

Specified by:
objectToString in interface StringBridge