@Incubating public interface CustomConverter<S,F extends ConvertedField>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
CustomConverter.Converter
A conversion converting data from one type to another.
|
static interface |
CustomConverter.ConverterRegistration<S>
Callback for registering a converter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Properties props) |
void |
converterFor(F field,
CustomConverter.ConverterRegistration<S> registration)
Allows to register a custom value and schema converter for a given field-
|
void configure(Properties props)
void converterFor(F field, CustomConverter.ConverterRegistration<S> registration)
field - the field of interestregistration - a callback that allows to register a schema and value converter for the given field.Copyright © 2021 JBoss by Red Hat. All rights reserved.