public class ReflectiveBeanConverter extends Object implements BeanConverter
Constructor and Description |
---|
ReflectiveBeanConverter() |
Modifier and Type | Method and Description |
---|---|
Object |
convert(ValueNode node,
Class type)
Convert a node value into more specific type.
|
static Object[] |
inject(ValueNode scope,
Executable method,
Consumer<ValueNode> state) |
boolean |
supports(Class type)
True if the converter applies for the given type.
|
public boolean supports(@Nonnull Class type)
BeanConverter
supports
in interface BeanConverter
type
- Conversion type.public Object convert(@Nonnull ValueNode node, @Nonnull Class type)
BeanConverter
convert
in interface BeanConverter
node
- Value value.type
- Requested type.public static Object[] inject(ValueNode scope, Executable method, Consumer<ValueNode> state)
Copyright © 2019. All rights reserved.