org.compass.core.converter.basic
Class StringConverter

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

public class StringConverter
extends AbstractBasicConverter

Author:
kimchy

Constructor Summary
StringConverter()
           
 
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
getNullValue, handleNulls, isNullValue, marshall, 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

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.