Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.search.bridge
Interface StringBridge

All Known Subinterfaces:
  TwoWayStringBridge

All Known Implementing Classes:
  BigDecimalBridge, BigIntegerBridge, BooleanBridge, CalendarBridge, CharacterBridge, ClassBridge, ConcatStringBridge, DateBridge, DoubleBridge, EnumBridge, FloatBridge, IntegerBridge, LongBridge, NumberBridge, ShortBridge, StringBridge, UriBridge, UrlBridge

    public interface StringBridge

Transform an object into a string representation. All implementations are required to be threadsafe. Usually this is easily achieved avoiding the usage of class fields, unless they are either immutable or needed to store parameters.

Author:
  Emmanuel Bernard

Method Summary
`java.lang.String` | `objectToString(java.lang.Object object)` Converts the object representation to a string.

Method Detail

### objectToString

    java.lang.String objectToString(java.lang.Object object)

  Converts the object representation to a string.

  Parameters:
    `object` - The object to transform into a string representation.
  Returns:
    String representation of the given object to be stored in Lucene index. The return string must not be `null`. It can be empty though.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2010 Hibernate. All Rights Reserved.