org.mvel2.conversion
Class StringCH

java.lang.Object
  extended by org.mvel2.conversion.StringCH
All Implemented Interfaces:
ConversionHandler

public class StringCH
extends java.lang.Object
implements ConversionHandler


Constructor Summary
StringCH()
           
 
Method Summary
 boolean canConvertFrom(java.lang.Class cls)
          This method is used to indicate to the runtime whehter or not the handler knows how to convert from the specified type.
 java.lang.Object convertFrom(java.lang.Object in)
          Converts the passed argument to the type represented by the handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringCH

public StringCH()
Method Detail

convertFrom

public java.lang.Object convertFrom(java.lang.Object in)
Description copied from interface: ConversionHandler
Converts the passed argument to the type represented by the handler.

Specified by:
convertFrom in interface ConversionHandler
Parameters:
in - - the input type
Returns:
- the converted type

canConvertFrom

public boolean canConvertFrom(java.lang.Class cls)
Description copied from interface: ConversionHandler
This method is used to indicate to the runtime whehter or not the handler knows how to convert from the specified type.

Specified by:
canConvertFrom in interface ConversionHandler
Parameters:
cls - - the source type
Returns:
- true if the converter supports converting from the specified type.


Copyright © 2011. All Rights Reserved.