org.pm4j.core.pm.impl.converter
Class PmConverterString

java.lang.Object
  extended by org.pm4j.core.pm.impl.converter.PmConverterSerializeableBase<java.lang.String>
      extended by org.pm4j.core.pm.impl.converter.PmConverterString
All Implemented Interfaces:
PmAttr.Converter<java.lang.String>
Direct Known Subclasses:
PmConverterString.Trimmed

public class PmConverterString
extends PmConverterSerializeableBase<java.lang.String>

Converter for string values. Just passes the string through.

Author:
olaf boede

Nested Class Summary
static class PmConverterString.Trimmed
          Trims the received String in methode PmConverterString.Trimmed.stringToValue(PmAttr, String).
 
Field Summary
static PmConverterString INSTANCE
           
 
Constructor Summary
PmConverterString()
           
 
Method Summary
 java.lang.String stringToValue(PmAttr<?> pmAttr, java.lang.String s)
           
 
Methods inherited from class org.pm4j.core.pm.impl.converter.PmConverterSerializeableBase
serializeableToValue, valueToSerializable, valueToString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final PmConverterString INSTANCE
Constructor Detail

PmConverterString

public PmConverterString()
Method Detail

stringToValue

public java.lang.String stringToValue(PmAttr<?> pmAttr,
                                      java.lang.String s)