com.ca.jcs.converter.core
Class TrimConverter

java.lang.Object
  extended by com.ca.jcs.converter.core.TrimConverter
All Implemented Interfaces:
Converter
Direct Known Subclasses:
XMLSQLTimeConverter

public class TrimConverter
extends Object
implements Converter

Calls String.trim() on values, removing leading and trailing whitespace.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.ca.jcs.converter.core.Converter
Converter.ConverterFlag
 
Constructor Summary
TrimConverter()
           
 
Method Summary
 Object convertFromConnector(Object connVal)
           
 Object convertToConnector(Converter.ConverterFlag flag, String ldapVal)
          Convert to connector with additional context, for instance when converting values found in rule expressions.
 Object convertToConnector(String ldapVal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrimConverter

public TrimConverter()
Method Detail

convertToConnector

public Object convertToConnector(String ldapVal)
Specified by:
convertToConnector in interface Converter

convertToConnector

public Object convertToConnector(Converter.ConverterFlag flag,
                                 String ldapVal)
Description copied from interface: Converter
Convert to connector with additional context, for instance when converting values found in rule expressions.

Specified by:
convertToConnector in interface Converter

convertFromConnector

public Object convertFromConnector(Object connVal)
Specified by:
convertFromConnector in interface Converter


Created 2011-07-14 13:27 EST