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

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

public static class PmConverterString.Trimmed
extends PmConverterString

Trims the received String in methode stringToValue(PmAttr, String).


Nested Class Summary
 
Nested classes/interfaces inherited from class org.pm4j.core.pm.impl.converter.PmConverterString
PmConverterString.Trimmed
 
Field Summary
static PmConverterString.Trimmed INSTANCE
           
 
Constructor Summary
PmConverterString.Trimmed()
           
 
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.Trimmed INSTANCE
Constructor Detail

PmConverterString.Trimmed

public PmConverterString.Trimmed()
Method Detail

stringToValue

public java.lang.String stringToValue(PmAttr<?> pmAttr,
                                      java.lang.String s)
Specified by:
stringToValue in interface PmAttr.Converter<java.lang.String>
Overrides:
stringToValue in class PmConverterString