public interface ConversionHandler
DataConversion
Modifier and Type | Method and Description |
---|---|
boolean |
canConvertFrom(Class cls)
This method is used to indicate to the runtime whehter or not the handler knows how to convert
from the specified type.
|
Object |
convertFrom(Object in)
Converts the passed argument to the type represented by the handler.
|
Object convertFrom(Object in)
in
- - the input typeboolean canConvertFrom(Class cls)
cls
- - the source typeCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.