org.compass.core.converter.basic
Class BooleanConverter

java.lang.Object
  extended by org.compass.core.converter.basic.AbstractBasicConverter
      extended by org.compass.core.converter.basic.BooleanConverter
All Implemented Interfaces:
Converter, ResourcePropertyConverter

public class BooleanConverter
extends AbstractBasicConverter

Author:
kimchy

Constructor Summary
BooleanConverter()
           
 
Method Summary
 Object fromString(String str, ResourcePropertyMapping resourcePropertyMapping)
          Converts from a String and into it's Object representation.
 
Methods inherited from class org.compass.core.converter.basic.AbstractBasicConverter
canNormalize, createProperty, doSetBoost, fromString, getNullValue, handleNulls, isNullValue, marshall, toString, toString, unmarshall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanConverter

public BooleanConverter()
Method Detail

fromString

public Object fromString(String str,
                         ResourcePropertyMapping resourcePropertyMapping)
Description copied from interface: ResourcePropertyConverter
Converts from a String and into it's Object representation.

Parameters:
str - The string to convert from
resourcePropertyMapping - The resource property mapping
Returns:
Theh object converterd from the String


Copyright (c) 2004-2006 The Compass Project.