Method Detail

getValueClasses

Gets the list of possible native Java classes that can be used to set a value using
setPropertyValue, in order of importance. Note that loss of precision
in data if e.g. an Float property accepts a Double. However, the setPropertyValue
throws IllegalArgumentException if the range in invalid, e.g. conversion
of a Integer to a Byte, and the value is not -127 to 128.

fromElementString

Called from the initializeProperty(Element element) method
once the element String is retrieved from the "value" attribute of the element.
Override this method to provide the appropriate String to
Object conversion.

The default implementation returns the String passed as
the parameter.

getPropValue0

Gets the property value in another class form than the "native" one. This method tries conversion of a "native"
property value into another class type. This method is used when filling in a POJO variable (Plain Old Java
Object Field) from a "native" property value.

toNativeValue0

Tries conversion of possibly accepted properties values using the setPropertyValue method
into the most preferred property value type. If the input value already is of the preferred type, the
same object is returned.