org.compass.core.converter.basic
Class StringConverter

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

public class StringConverter
extends AbstractBasicConverter<String>

Author:
kimchy

Constructor Summary
StringConverter()
           
 
Method Summary
protected  String doFromString(String str, ResourcePropertyMapping resourcePropertyMapping, MarshallingContext context)
          Override the from String in order to un-marshall the String back into its object representation.
 
Methods inherited from class org.compass.core.converter.basic.AbstractBasicConverter
canNormalize, createProperty, doSetBoost, doToString, fromString, fromString, getNullValue, handleNulls, isNullValue, marshall, suggestIndex, 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

StringConverter

public StringConverter()
Method Detail

doFromString

protected String 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<String>
Throws:
ConversionException


Copyright (c) 2004-2009 The Compass Project.