Module dev.metaschema.databind
Package dev.metaschema.databind.io
package dev.metaschema.databind.io
Provides core functionality for reading and writing Metaschema instance data
to and from bound Java objects.
This package contains the serialization and deserialization infrastructure for Metaschema-based data binding, including:
- Abstract base classes for serializers and deserializers
- Configuration features for controlling serialization behavior
- Format detection and model detection utilities
- Problem handling interfaces for customizing error recovery
- See Also:
-
ClassDescriptionAbstractDeserializer<CLASS extends IBoundObject>The base class of all format-specific deserializers.Abstract base class for problem handlers that can validate required fields during deserialization.AbstractSerializer<CLASS extends IBoundObject>The base class of all format-specific serializers.Used to report exceptional conditions related to processing bound objects.A default implementation of an
IBoundLoader.Configuration features that control the deserialization behavior of Metaschema-bound object readers.Selections of serialization formats.Provides a means to analyze content to determine whatFormatthe data is represented as.Represents the result of format detection, providing access to the detected format and the data stream for further processing.A common interface for loading Module based instance resources.Provides methods used during deserialization to perform additional actions before and after data is loaded into a bound object.IDeserializer<CLASS extends IBoundObject>Implementations of this interface are able to read structured data into a bound object instance of the parameterized type.IParsingContext<READER,PROBLEM_HANDLER extends IProblemHandler> Provides objects used for parsing data associated with a specific format.Implementations support handling common parsing issues.ISerializer<CLASS extends IBoundObject>Implementations of this interface are able to write data in a bound object instance of the parameterized type to a structured data format.IWritingContext<WRITER>Provides the context for writing bound objects to a specific output format.A functional interface for writing object properties.Provides a means to analyze content to determine what type of bound data it contains.Describes the result of detecting which model a resource is described by.A lightweight utility for tracking the current path during parsing.Configuration features that control the serialization behavior of Metaschema-bound object writers.Provides contextual information for validation errors during parsing.