- All Superinterfaces:
ValueConverter<ValueNode>
Value converter for complex values that come from query, path, form, etc... parameters into more
specific type.
It is an extension point for Value.to(Class)
calls.
-
Method Summary
-
Method Details
-
supports
True if the converter applies for the given type.- Specified by:
supports
in interfaceValueConverter<ValueNode>
- Parameters:
type
- Conversion type.- Returns:
- True if the converter applies for the given type.
-
convert
Convert a node value into more specific type.- Specified by:
convert
in interfaceValueConverter<ValueNode>
- Parameters:
node
- Value value.type
- Requested type.- Returns:
- Converted value.
-