org.hibernate.search.bridge.builtin
Class StringBridge
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringBridge
public StringBridge()
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