T
- the parser's typepublic interface ObjectConverter<T>
Modifier and Type | Method and Description |
---|---|
T |
convert(Object value)
Returns the converted object of type T, or
null if
value is null . |
T convert(Object value) throws ObjectConversionException
null
if
value
is null
.
If value
cannot be converted to type T an
ObjectConversionException
is thrown.
value
- the value to convertvalue
itself if it is an instance of TObjectConversionException
- if the parsing failedCopyright © 2003–2021 XDEV Software. All rights reserved.