| Interface | Description |
|---|---|
| MetadataTypeWriter |
Base contract for implementations that serialize
MetadataType objects into a readable and processable JSON file, that
can be deserialize again into a MetadataType using a SerializedMetadataTypeLoader. |
| ObjectTypeReferenceHandler |
Allows to serialize and deserialize
ObjectType instances which are not explicitly defined but instead pointed at by
some means |
| SerializedMetadataTypeLoader |
Base contract for implementations that deserialize
MetadataType objects from a JSON file. |
| Class | Description |
|---|---|
| AbstractJsonMetadataTypeWriter |
Base class for
MetadataTypeWriters implementations that serialize MetadataType objects into a readable and
processable JSON file, that can be deserialize again into a MetadataType using a SerializedMetadataTypeLoader. |
| BaseMetadataTypeGsonTypeAdapter | |
| DefaultObjectTypeReferenceHandler |
Implementation of
ObjectTypeReferenceHandler which handles references by looking for the
MetadataTypeConstants.REF_FLAG prefix. |
| JsonMetadataTypeLoader |
TypeLoader that creates instances of MetadataType from JSON representations generated by
JsonMetadataTypeWriter. |
| JsonMetadataTypeWriter |
MetadataTypeWriter implementation that serialize a full MetadataType structure to a matching JSON object. |
| MetadataTypeConstants |
MetadataType Constants to help in the
MetadataType serialization and deserialization |
| MetadataTypeGsonTypeAdapter | |
| NullObjectTypeReferenceHandler |
A null object implementation of
ObjectTypeReferenceHandler which handles no reference. |
| SerializationContext |
Contains state which affects many serializers or type adapters involved in the process of marshalling a
MetadataType |
| TypeAnnotationSerializer |
Serializer for
TypeAnnotation. |
| TypeAnnotationSerializerFactory |
Factory class for instances of
TypeAnnotationSerializer which have been enriched with SPI discovered implementations of
TypeAnnotationSerializer
By default this mapping provides all the out of the box TypeAnnotation implementation like LabelAnnotation,
DefaultValueAnnotation, etc, but this mapping is extensible to provide more mappings using SPI (Service Provider
Interface) loading defined TypeAnnotationSerializerExtender implementations. |
| Exception | Description |
|---|---|
| MetadataDeserializingException |
RuntimeException that declares that an error occurred serializing or deserializing a MetadataType object. |
| MetadataSerializingException |
RuntimeException that declares that an error occurred serializing or deserializing a MetadataType object. |
Copyright © 2024 MuleSoft, Inc.. All rights reserved.