|
SWIXML 1.6 (#161) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.swixml.converters.ComponentConverter
public class ComponentConverter
The ComponentConverter class defines a dummy converter It's simply here to allow the registration of setter-methods excepting Components
| Field Summary | |
|---|---|
static Class |
TEMPLATE
converter's return type |
| Constructor Summary | |
|---|---|
ComponentConverter()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Class TEMPLATE
| Constructor Detail |
|---|
public ComponentConverter()
| Method Detail |
|---|
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.
Exception
public Object convert(Class type,
Attribute attr,
Localizer localizer)
throws Exception
Attribute object into an output object of the
specified type.
convert in interface Convertertype - Class Data type to which the Attribute's value should be convertedattr - Attribute the attribute, providing the value to be converted.
Exceptionpublic Class convertsTo()
Converters conversTo method informs about the Class type the converter
is returning when its convert method is called
convertsTo in interface ConverterClass - the Class the converter is returning when its convert method is called
|
SWIXML 1.6 (#161) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||