com.tonbeller.wcf.convert
Class SelectSingleConverter
java.lang.Object
com.tonbeller.wcf.convert.NodeConverterBase
com.tonbeller.wcf.convert.SelectConverterBase
com.tonbeller.wcf.convert.SelectSingleConverter
- All Implemented Interfaces:
- NodeConverter
- public class SelectSingleConverter
- extends SelectConverterBase
sets a scalar bean property to the value of the selected item. If no item
is selected, nothing will be done.
An items value is the value attribute of the elected item.
For type conversion the type, modelReference and formatString attributes
will be taken from the items parent (e.g. the listBox).
- Author:
- av
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectSingleConverter
public SelectSingleConverter()
updateModelReference
protected void updateModelReference(Formatter fmt,
org.w3c.dom.Element elem,
java.lang.Object bean)
throws FormatException,
java.lang.IllegalAccessException,
java.lang.NoSuchMethodException,
java.lang.reflect.InvocationTargetException
- Specified by:
updateModelReference
in class SelectConverterBase
- Throws:
FormatException
java.lang.IllegalAccessException
java.lang.NoSuchMethodException
java.lang.reflect.InvocationTargetException