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.
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.metaschema.binding
).A Metaschema module represented as a set of Metaschema module bindings.
-
Uses of IBindingContext in gov.nist.secauto.metaschema.databind
Modifier and TypeClassDescriptionclass
The implementation of aIBindingContext
provided by this library.Modifier and TypeMethodDescriptionIBindingContext.BindingContextBuilder.build()
Build aIBindingContext
using the configuration options provided to the builder.static IBindingContext
IBindingContext.newInstance()
Get a newIBindingContext
instance, which can be used to load information that binds a model to a set of Java classes.static IBindingContext
IBindingContext.newInstance
(IBindingContext.IModuleLoaderStrategy strategy) Get a newIBindingContext
instance, which can be used to load information that binds a model to a set of Java classes.Modifier and TypeMethodDescriptionAbstractModuleLoaderStrategy.getBoundDefinitionForClass
(Class<? extends IBoundObject> clazz, IBindingContext bindingContext) IBindingContext.IModuleLoaderStrategy.getBoundDefinitionForClass
(Class<? extends IBoundObject> clazz, IBindingContext bindingContext) Get theIBoundDefinitionModel
instance associated with the provided Java class.PostProcessingModuleLoaderStrategy.getBoundDefinitionForClass
(Class<? extends IBoundObject> clazz, IBindingContext bindingContext) IBindingContext.ISchemaValidationProvider.getJsonSchema
(org.json.JSONObject json, IBindingContext bindingContext) Get a JSON schema to use for content validation.IBindingContext.ISchemaValidationProvider.getXmlSchemas
(URL targetResource, IBindingContext bindingContext) Get a XML schema to use for content validation.AbstractModuleLoaderStrategy.loadModule
(Class<? extends IBoundModule> clazz, IBindingContext bindingContext) IBindingContext.IModuleLoaderStrategy.loadModule
(Class<? extends IBoundModule> clazz, IBindingContext bindingContext) Load the bound Metaschema module represented by the provided class.PostProcessingModuleLoaderStrategy.loadModule
(Class<? extends IBoundModule> clazz, IBindingContext bindingContext) protected IBoundModule
AbstractModuleLoaderStrategy.lookupInstance
(Class<? extends IBoundModule> moduleClass, IBindingContext bindingContext) Get the Module instance for a given class annotated by theMetaschemaModule
annotation, instantiating it if needed.default void
IBindingContext.IModuleLoaderStrategy.postProcessModule
(IModule module, IBindingContext bindingContext) Perform post-processing on the module.void
PostProcessingModuleLoaderStrategy.postProcessModule
(IModule module, IBindingContext bindingContext) AbstractModuleLoaderStrategy.registerModule
(IModule module, IBindingContext bindingContext) IBindingContext.IModuleLoaderStrategy.registerModule
(IModule module, IBindingContext bindingContext) Registers the provided Metaschema module.PostProcessingModuleLoaderStrategy.registerModule
(IModule module, IBindingContext bindingContext) default IValidationResult
IBindingContext.ISchemaValidationProvider.validateWithSchema
(URI target, Format asFormat, IBindingContext bindingContext) Validate the target resource.ModifierConstructorDescriptionConstruct a new builder. -
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 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
IBoundModule.newInstance
(Class<? extends IBoundModule> clazz, IBindingContext bindingContext, List<? extends IBoundModule> importedModules) 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.metaschema
Modifier and TypeMethodDescriptionBindingModuleLoader.getBindingContext()
IBindingModuleLoader.getBindingContext()
Get the associated binding context.Modifier and TypeMethodDescriptionvoid
ModuleLoadingPostProcessor.postProcessModule
(IModule module, IBindingContext bindingContext) Post-processes the provided Metaschema module.ModifierConstructorDescriptionBindingConstraintLoader
(IBindingContext bindingContext) BindingModuleLoader
(IBindingContext bindingContext, ModuleLoadingPostProcessor postProcessor) Construct a new Metaschema loader. -
Uses of IBindingContext in gov.nist.secauto.metaschema.databind.model.metaschema.binding
ModifierConstructorDescriptionMetaschemaModelModule
(List<? extends IBoundModule> importedModules, IBindingContext bindingContext)