org.compass.core.converter.basic
Interface FormatConverter<T>

All Superinterfaces:
Converter<T>, ResourcePropertyConverter<T>
All Known Implementing Classes:
AbstractFormatConverter, AbstractNumberConverter, AtomicIntConverter, AtomicLongConverter, BigDecimalConverter, BigIntegerConverter, CalendarConverter, DataTimeConverter, DateConverter, DoubleConverter, FloatConverter, IntConverter, LongConverter, ShortConverter, SqlDateConverter, SqlTimeConverter, SqlTimestampConverter

public interface FormatConverter<T>
extends ResourcePropertyConverter<T>

A Converter that can handle format parameter.

Author:
kimchy

Method Summary
 FormatConverter copy()
          Returns a copy of the format converter.
 void setFormat(String format)
          Sets the format for the Converter.
 
Methods inherited from interface org.compass.core.converter.mapping.ResourcePropertyConverter
canNormalize, fromString, suggestIndex, suggestOmitNorms, suggestOmitTf, suggestStore, suggestTermVector, toString
 
Methods inherited from interface org.compass.core.converter.Converter
marshall, unmarshall
 

Method Detail

setFormat

void setFormat(String format)
Sets the format for the Converter.


copy

FormatConverter copy()
Returns a copy of the format converter.



Copyright (c) 2004-2009 The Compass Project.