org.compass.core.converter.basic.atomic
Class AtomicBooleanConverter

java.lang.Object
  extended by org.compass.core.converter.basic.AbstractBasicConverter<AtomicBoolean>
      extended by org.compass.core.converter.basic.atomic.AtomicBooleanConverter
All Implemented Interfaces:
Converter<AtomicBoolean>, ContextResourcePropertyConverter<AtomicBoolean>, ResourcePropertyConverter<AtomicBoolean>

public class AtomicBooleanConverter
extends AbstractBasicConverter<AtomicBoolean>

Author:
kimchy

Constructor Summary
AtomicBooleanConverter()
           
 
Method Summary
protected  AtomicBoolean doFromString(String str, ResourcePropertyMapping resourcePropertyMapping, MarshallingContext context)
          Override the from String in order to un-marshall the String back into its object representation.
 Property.Index suggestIndex()
          Boolean is Property.Index.NOT_ANALYZED by default.
 
Methods inherited from class org.compass.core.converter.basic.AbstractBasicConverter
canNormalize, createProperty, doSetBoost, doToString, fromString, fromString, getNullValue, handleNulls, isNullValue, marshall, suggestOmitNorms, suggestOmitTf, suggestStore, suggestTermVector, toString, toString, unmarshall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomicBooleanConverter

public AtomicBooleanConverter()
Method Detail

doFromString

protected AtomicBoolean doFromString(String str,
                                     ResourcePropertyMapping resourcePropertyMapping,
                                     MarshallingContext context)
                              throws ConversionException
Description copied from class: AbstractBasicConverter
Override the from String in order to un-marshall the String back into its object representation.

Specified by:
doFromString in class AbstractBasicConverter<AtomicBoolean>
Throws:
ConversionException

suggestIndex

public Property.Index suggestIndex()
Boolean is Property.Index.NOT_ANALYZED by default.

Specified by:
suggestIndex in interface ResourcePropertyConverter<AtomicBoolean>
Overrides:
suggestIndex in class AbstractBasicConverter<AtomicBoolean>


Copyright (c) 2004-2009 The Compass Project.