public class ComponentConverter extends Object implements Converter
| Modifier and Type | Field and Description |
|---|---|
static Class |
TEMPLATE
converter's return type
|
| Constructor and Description |
|---|
ComponentConverter() |
| Modifier and Type | Method and Description |
|---|---|
static Component |
conv(Attribute attr)
Convert the value of the given
Attribute object into an output object of the
specified type. |
Object |
convert(Class type,
Attribute attr,
Localizer localizer)
Convert the value of the given
Attribute object into an output object of the
specified type. |
Class |
convertsTo()
A
Converters conversTo method informs about the Class type the converter
is returning when its convert method is called |
public static final Class TEMPLATE
public static Component conv(Attribute attr) throws Exception
Attribute object into an output object of the
specified type.attr - Attribute the attribute, providing the value to be converted.Exceptionpublic Object convert(Class type, Attribute attr, Localizer localizer) throws Exception
Attribute object into an output object of the
specified type.public Class convertsTo()
Converters conversTo method informs about the Class type the converter
is returning when its convert method is calledconvertsTo in interface ConverterClass - the Class the converter is returning when its convert method is calledCopyright © 2002 - 2013 - Wolf Paulus - wolfpaulus.com. All rights reserved.