Uses of Interface
de.iip_ecosphere.platform.transport.serialization.TypeTranslator
Packages that use TypeTranslator
Package
Description
Interfaces for platform-internal type translation and data serialization.
Generic status messages like device/service/container is there or disappeared.
-
Uses of TypeTranslator in de.iip_ecosphere.platform.transport.serialization
Subinterfaces of TypeTranslator in de.iip_ecosphere.platform.transport.serializationModifier and TypeInterfaceDescriptioninterfaceSerializer<T>A data serializer (so far for homogeneous streams, may require unique ids).Classes in de.iip_ecosphere.platform.transport.serialization that implement TypeTranslatorModifier and TypeClassDescriptionclassA default serializer for byte[].classA simple, generic, reusable JSON serializer.classA simple, generic, reusable JSON serializer.classA default serializer for String through Base64 encoding.Fields in de.iip_ecosphere.platform.transport.serialization declared as TypeTranslatorModifier and TypeFieldDescriptionstatic final TypeTranslator<String, byte[]> TypeTranslators.BASE64_TO_BYTEARRAYString to byte[] translator via base64 encoding.static final TypeTranslator<String, Boolean> TypeTranslators.BOOLEANTurns a Boolean into a String and back.static final TypeTranslator<byte[], String> TypeTranslators.BYTEARRAY_TO_BASE64byte[] to String translator via base64 encoding.static final TypeTranslator<String, Double> TypeTranslators.DOUBLETurns a Double into a String and back.static final TypeTranslator<String, Integer> TypeTranslators.INTEGERTurns an Integer into a String and back.static final TypeTranslator<String, String> TypeTranslators.JSON_STRINGTurns a string into a quoted string and back.static final TypeTranslator<String, Long> TypeTranslators.LONGTurns a Long into a String and back.static final TypeTranslator<String, String> TypeTranslators.STRINGIdentity transformation for strings.Methods in de.iip_ecosphere.platform.transport.serialization that return TypeTranslatorModifier and TypeMethodDescriptionstatic TypeTranslator<?, ?> TypeTranslators.createTypeTranslator(ClassLoader loader, String className) Convenience method for creating (custom) type translator instances. -
Uses of TypeTranslator in de.iip_ecosphere.platform.transport.status
Classes in de.iip_ecosphere.platform.transport.status that implement TypeTranslatorModifier and TypeClassDescriptionclassA simple, generic alert event serializer.classA simple, generic status serializer.classA simple, generic JSON status serializer.Methods in de.iip_ecosphere.platform.transport.status that return TypeTranslatorModifier and TypeMethodDescriptionstatic TypeTranslator<StatusMessage, String> StatusMessageSerializer.createTypeTranslator()Creates a type translator based on the serialization approach in this class.static TypeTranslator<TraceRecord, String> TraceRecordSerializer.createTypeTranslator()Creates a type translator based on the serialization approach in this class.