Package gov.nist.secauto.metaschema.databind
package gov.nist.secauto.metaschema.databind
Support for parsing Metaschema module-based data using Java class bindings.
Two methods are supported
- A Java annotation based approach
(
gov.nist.secauto.metaschema.databind.model
) using annotations (gov.nist.secauto.metaschema.databind.model.annotations
). TheDefaultBindingContext
is used to load a bound Java class. - A metaschema-specific binding, based on the first method, that is capable
of representing a Metaschema module
(
gov.nist.secauto.metaschema.databind.model.binding.metaschema
). TheBindingConstraintLoader
can be used to load any Metaschema module using this method. Once loaded, the module can be registered with the binding context.
-
ClassDescriptionThe implementation of a
IBindingContext
provided by this library.Provides information supporting a binding between a set of Module models and corresponding Java classes.Implementations of this interface provide a means by which a bound class can be found that corresponds to an XML element, JSON property, or YAML item name.