|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConversionHandler
The conversion handler interface defines the basic interface for implementing conversion handlers in MVEL.
DataConversion
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. |
Method Detail |
---|
java.lang.Object convertFrom(java.lang.Object in)
in
- - the input type
boolean canConvertFrom(java.lang.Class cls)
cls
- - the source type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |