public class RecordValueConverterProvider extends java.lang.Object implements ValueConverterProvider
Map<Object, Object> and
record types.| Constructor and Description |
|---|
RecordValueConverterProvider() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSupported(Type type)
Indicates if a type is supported by this provider.
|
ValueConverter |
visit(BinaryType binaryType)
Visits the binary base type.
|
ValueConverter |
visit(BooleanType booleanType)
Visits the boolean type.
|
ValueConverter |
visit(ClosureType closureType)
Visits the closure type.
|
ValueConverter |
visit(CollectionType collectionType)
Visits the collection type.
|
ValueConverter |
visit(DateType dateType)
Visits the date type.
|
ValueConverter |
visit(DecimalType decimalType)
Visits the decimal type.
|
ValueConverter |
visit(EnumerationBaseType enumerationType)
Visits the enumeration base type.
|
ValueConverter |
visit(EnumerationType enumerationType)
Visits the enumeration type.
|
ValueConverter |
visit(FreeType freeType)
Visits the free type.
|
ValueConverter |
visit(IntegerType integerType)
Visits the integer type.
|
ValueConverter |
visit(InterfaceType interfaceType)
Visits the interface type.
|
ValueConverter |
visit(IntersectionType intersectionType)
Visits the intersection type.
|
ValueConverter |
visit(ListType listType)
Visits the list type.
|
ValueConverter |
visit(LocalDateTimeType type)
Visits the LocalDateTime type.
|
ValueConverter |
visit(LocalDateType type)
Visits the LocalDate type.
|
ValueConverter |
visit(MapType mapType)
Visits the map type.
|
ValueConverter |
visit(NullType nullType)
Visits the null type.
|
ValueConverter |
visit(ObjectType objectType)
Visits the object type.
|
ValueConverter |
visit(PropertyPathType propertyPathType)
Visits the property path type.
|
ValueConverter |
visit(PropertyType propertyType)
Visits the property type.
|
ValueConverter |
visit(RecordBaseType recordType)
Visits the record base type.
|
ValueConverter |
visit(RecordType recordType)
Visits the record type.
|
ValueConverter |
visit(ReferenceType referenceType)
Visits the (typed) reference type.
|
ValueConverter |
visit(SetType setType)
Visits the set type.
|
ValueConverter |
visit(StringType stringType)
Visits the string type.
|
ValueConverter |
visit(TypeType typeType)
Visits the type type.
|
ValueConverter |
visit(VoidType voidType)
Visits the void type.
|
public boolean isSupported(Type type)
visit(...) method returns
a converter for the type. If the type is not supported then the visit(...) method returns null.isSupported in interface ValueConverterProvidertype - the type to checktrue if the type is supported by this provider;
otherwise false.public ValueConverter visit(BooleanType booleanType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>JsonProcessingExceptionpublic ValueConverter visit(IntegerType integerType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>JsonProcessingExceptionpublic ValueConverter visit(DecimalType decimalType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>JsonProcessingExceptionpublic ValueConverter visit(DateType dateType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>JsonProcessingExceptionpublic ValueConverter visit(LocalDateType type) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>JsonProcessingExceptionpublic ValueConverter visit(LocalDateTimeType type) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>JsonProcessingExceptionpublic ValueConverter visit(StringType stringType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>JsonProcessingExceptionpublic ValueConverter visit(ObjectType objectType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>JsonProcessingExceptionpublic ValueConverter visit(NullType nullType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>nullType - null type to be visitedJsonProcessingExceptionpublic ValueConverter visit(SetType setType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>setType - set type to be visitedJsonProcessingExceptionpublic ValueConverter visit(ListType listType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>listType - list type to be visitedJsonProcessingExceptionpublic ValueConverter visit(MapType mapType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>mapType - map type to be visitedJsonProcessingExceptionpublic ValueConverter visit(RecordType recordType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>recordType - record type to be visitedJsonProcessingExceptionpublic ValueConverter visit(ClosureType closureType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>closureType - closure type to be visitedJsonProcessingExceptionpublic ValueConverter visit(ReferenceType referenceType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>referenceType - reference type to be visitedJsonProcessingExceptionpublic ValueConverter visit(TypeType typeType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>typeType - free type to be visitedJsonProcessingExceptionpublic ValueConverter visit(FreeType freeType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>freeType - free type to be visitedJsonProcessingExceptionpublic ValueConverter visit(CollectionType collectionType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>collectionType - a collection type to be visitedJsonProcessingExceptionpublic ValueConverter visit(EnumerationType enumerationType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>enumerationType - an enumeration type to be visitedJsonProcessingExceptionpublic ValueConverter visit(EnumerationBaseType enumerationType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>enumerationType - an enumeration type to be visitedJsonProcessingExceptionpublic ValueConverter visit(BinaryType binaryType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>binaryType - a binary type to be visitedJsonProcessingExceptionpublic ValueConverter visit(RecordBaseType recordType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>recordType - a record type to be visitedJsonProcessingExceptionpublic ValueConverter visit(PropertyPathType propertyPathType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>propertyPathType - a property path type to be visitedJsonProcessingExceptionpublic ValueConverter visit(PropertyType propertyType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>propertyType - a property type to be visitedJsonProcessingExceptionpublic ValueConverter visit(InterfaceType interfaceType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>JsonProcessingExceptionpublic ValueConverter visit(IntersectionType intersectionType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>JsonProcessingExceptionpublic ValueConverter visit(VoidType voidType) throws JsonProcessingException
TypeVisitorvisit in interface TypeVisitor<ValueConverter,JsonProcessingException>voidType - a void type to be visitedJsonProcessingExceptionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.