public class CompositeCH extends Object implements ConversionHandler
Constructor and Description |
---|
CompositeCH(ConversionHandler... converters) |
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.
|
public CompositeCH(ConversionHandler... converters)
public Object convertFrom(Object in)
ConversionHandler
convertFrom
in interface ConversionHandler
in
- - the input typepublic boolean canConvertFrom(Class cls)
ConversionHandler
canConvertFrom
in interface ConversionHandler
cls
- - the source typeCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.