Uses of Interface
gov.nist.secauto.metaschema.databind.IBindingContext
Package
Description
Support for parsing Metaschema module-based data using Java class bindings.
Provides core functionality for reading and writing instance data to and from
bound objects.
Provides an overlay of the Metaschema module model
(
gov.nist.secauto.metaschema.core.model
) using bound Java class
annotations (gov.nist.secauto.metaschema.databind.model.annotations
)
to represent module constructs annotated on Java classes.Provides a set of annotations for associating Module information with a Java
class.
A Metaschema module represented as a set of Metaschema module bindings.
Provides an implementation of the Module model
(
gov.nist.secauto.metaschema.core.model
) represented by a
module-specific set of bound Java classes
(gov.nist.secauto.metaschema.databind.model.binding.metaschema
).-
Uses of IBindingContext in gov.nist.secauto.metaschema.databind
Modifier and TypeClassDescriptionclass
The implementation of aIBindingContext
provided by this library.Modifier and TypeMethodDescriptionstatic IBindingContext
IBindingContext.instance()
Get the singletonIBindingContext
instance, which can be used to load information that binds a model to a set of Java classes.DefaultBindingContext.registerModule
(IModule module, Path compilePath) IBindingContext.registerModule
(IModule module, Path compilePath) Generate, compile, and load a set of generated Module annotated Java classes based on the provided Modulemodule
.ModifierConstructorDescriptionprotected
SimpleModuleLoaderStrategy
(IBindingContext bindingContext) -
Uses of IBindingContext in gov.nist.secauto.metaschema.databind.io
Modifier and TypeMethodDescriptionDefaultBoundLoader.getBindingContext()
IBoundLoader.getBindingContext()
Get the configured Module binding context to use to load Java types.ModifierConstructorDescriptionDefaultBoundLoader
(IBindingContext bindingContext) Construct a new OSCAL loader instance, using the providedIBindingContext
.ModelDetector
(IBindingContext bindingContext) Construct a new format detector using the default configuration.ModelDetector
(IBindingContext bindingContext, IConfiguration<DeserializationFeature<?>> configuration) Construct a new format detector using the providedconfiguration
. -
Uses of IBindingContext in gov.nist.secauto.metaschema.databind.model
Modifier and TypeMethodDescriptionAbstractBoundModule.getBindingContext()
IBoundDefinitionModel.getBindingContext()
Get the binding context used for the definition.IBoundModule.getBindingContext()
Get the Module binding context.Modifier and TypeMethodDescriptionstatic IBoundModule
AbstractBoundModule.createInstance
(Class<? extends IBoundModule> clazz, IBindingContext bindingContext) Create a new Module instance for a given class annotated by theMetaschemaModule
annotation.ModifierConstructorDescriptionprotected
AbstractBoundModule
(List<? extends IBoundModule> importedModules, IBindingContext bindingContext) Construct a new Module instance. -
Uses of IBindingContext in gov.nist.secauto.metaschema.databind.model.annotations
Modifier and TypeMethodDescriptionstatic IDataTypeAdapter<?>
ModelUtil.getDataTypeAdapter
(Class<? extends IDataTypeAdapter<?>> adapterClass, IBindingContext bindingContext) Get the data type adapter instance of the provided adapter class. -
Uses of IBindingContext in gov.nist.secauto.metaschema.databind.model.binding.metaschema
ModifierConstructorDescriptionMetaschemaModelModule
(List<? extends IBoundModule> importedModules, IBindingContext bindingContext) -
Uses of IBindingContext in gov.nist.secauto.metaschema.databind.model.metaschema
ModifierConstructorDescriptionBindingConstraintLoader
(IBindingContext bindingContext) BindingModuleLoader
(IBindingContext bindingContext) Construct a new Metaschema loader.BindingModuleLoader
(IBindingContext bindingContext, List<IModuleLoader.IModulePostProcessor> modulePostProcessors) Construct a new Metaschema loader, which use the provided module post processors when loading a module.