Uses of Interface
dev.metaschema.databind.IBindingContext
Packages that use IBindingContext
Package
Description
Provides a collection of abstract and concrete command line interface (CLI)
commands that process Metaschema module-based information.
Support for parsing Metaschema module-based data using Java class bindings.
Provides generated Metaschema binding classes for module(s): Metaschema
Binding Configuration.
Provides core functionality for reading and writing Metaschema instance data
to and from bound Java objects.
Provides an overlay of the Metaschema module model
(
dev.metaschema.core.model) using bound Java class annotations
(dev.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
(
dev.metaschema.core.model) represented by a module-specific set of
bound Java classes
(dev.metaschema.databind.model.metaschema.binding).Provides generated Metaschema binding classes for module(s): Metaschema
Model.
Provides testing utilities for Metaschema modules and constraints.
Provides generated Metaschema binding classes for module(s): Metaschema Test
Suite.
-
Uses of IBindingContext in dev.metaschema.cli.commands
Methods in dev.metaschema.cli.commands that return IBindingContextModifier and TypeMethodDescriptionprotected abstract IBindingContextAbstractConvertSubcommand.AbstractConversionCommandExecutor.getBindingContext()Get the binding context to use for data processing.protected abstract IBindingContextAbstractValidateContentCommand.AbstractValidationCommandExecutor.getBindingContext(Set<IConstraintSet> constraintSets) Get the binding context to use for data processing.static IBindingContextMetaschemaCommands.newBindingContextWithDynamicCompilation()Create a newIBindingContextthat is configured for dynamic compilation.static IBindingContextMetaschemaCommands.newBindingContextWithDynamicCompilation(Set<IConstraintSet> constraintSets) Create a newIBindingContextthat is configured for dynamic compilation and to use the provided constraints.Methods in dev.metaschema.cli.commands with parameters of type IBindingContextModifier and TypeMethodDescriptionprotected abstract IModuleAbstractValidateContentCommand.AbstractValidationCommandExecutor.getModule(org.apache.commons.cli.CommandLine commandLine, IBindingContext bindingContext) Get the module to use for validation.protected abstract IBindingContext.ISchemaValidationProviderAbstractValidateContentCommand.AbstractValidationCommandExecutor.getSchemaValidationProvider(IModule module, org.apache.commons.cli.CommandLine commandLine, IBindingContext bindingContext) Get the schema validation implementation requested based on the provided command line arguments.static IModuleMetaschemaCommands.loadModule(String moduleResource, URI currentWorkingDirectory, IBindingContext bindingContext) Load a Metaschema module from the provided relative resource path.static IModuleMetaschemaCommands.loadModule(URI moduleResource, IBindingContext bindingContext) Load a Metaschema module from the provided resource path.static IModuleMetaschemaCommands.loadModule(org.apache.commons.cli.CommandLine commandLine, org.apache.commons.cli.Option option, URI currentWorkingDirectory, IBindingContext bindingContext) Load a Metaschema module based on the provided command line option. -
Uses of IBindingContext in dev.metaschema.databind
Classes in dev.metaschema.databind that implement IBindingContextModifier and TypeClassDescriptionclassThe implementation of aIBindingContextprovided by this library.Methods in dev.metaschema.databind that return IBindingContextModifier and TypeMethodDescriptionIBindingContext.BindingContextBuilder.build()Build aIBindingContextusing the configuration options provided to the builder.static IBindingContextIBindingContext.newInstance()Get a newIBindingContextinstance, which can be used to load information that binds a model to a set of Java classes.static IBindingContextIBindingContext.newInstance(IBindingContext.IModuleLoaderStrategy strategy) Get a newIBindingContextinstance, which can be used to load information that binds a model to a set of Java classes.Methods in dev.metaschema.databind with parameters of type IBindingContextModifier and TypeMethodDescriptionAbstractModuleLoaderStrategy.getBoundDefinitionForClass(Class<? extends IBoundObject> clazz, IBindingContext bindingContext) IBindingContext.IModuleLoaderStrategy.getBoundDefinitionForClass(Class<? extends IBoundObject> clazz, IBindingContext bindingContext) Get theIBoundDefinitionModelinstance 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 IBoundModuleAbstractModuleLoaderStrategy.lookupInstance(Class<? extends IBoundModule> moduleClass, IBindingContext bindingContext) Get the Module instance for a given class annotated by theMetaschemaModuleannotation, instantiating it if needed.default voidIBindingContext.IModuleLoaderStrategy.postProcessModule(IModule module, IBindingContext bindingContext) Perform post-processing on the module.voidPostProcessingModuleLoaderStrategy.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 IValidationResultIBindingContext.ISchemaValidationProvider.validateWithSchema(URI target, Format asFormat, IBindingContext bindingContext) Validate the target resource.Constructor parameters in dev.metaschema.databind with type arguments of type IBindingContextModifierConstructorDescriptionConstruct a new builder. -
Uses of IBindingContext in dev.metaschema.databind.config.binding
Constructors in dev.metaschema.databind.config.binding with parameters of type IBindingContextModifierConstructorDescriptionMetaschemaBindingsModule(List<? extends IBoundModule> importedModules, IBindingContext bindingContext) Construct a new module instance. -
Uses of IBindingContext in dev.metaschema.databind.io
Methods in dev.metaschema.databind.io that return IBindingContextModifier and TypeMethodDescriptionDefaultBoundLoader.getBindingContext()IBoundLoader.getBindingContext()Get the configured Module binding context to use to load Java types.Constructors in dev.metaschema.databind.io with parameters of type IBindingContextModifierConstructorDescriptionDefaultBoundLoader(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 dev.metaschema.databind.model
Methods in dev.metaschema.databind.model that return IBindingContextModifier and TypeMethodDescriptionAbstractBoundModule.getBindingContext()IBoundDefinitionModel.getBindingContext()Get the binding context used for the definition.IBoundModule.getBindingContext()Get the Module binding context.Methods in dev.metaschema.databind.model with parameters of type IBindingContextModifier and TypeMethodDescriptionstatic IBoundModuleIBoundModule.newInstance(Class<? extends IBoundModule> clazz, IBindingContext bindingContext, List<? extends IBoundModule> importedModules) Create a new instance of a bound module using reflection.Constructors in dev.metaschema.databind.model with parameters of type IBindingContextModifierConstructorDescriptionprotectedAbstractBoundModule(List<? extends IBoundModule> importedModules, IBindingContext bindingContext) Construct a new Module instance. -
Uses of IBindingContext in dev.metaschema.databind.model.annotations
Methods in dev.metaschema.databind.model.annotations with parameters of type IBindingContextModifier 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 dev.metaschema.databind.model.metaschema
Methods in dev.metaschema.databind.model.metaschema that return IBindingContextModifier and TypeMethodDescriptionBindingModuleLoader.getBindingContext()IBindingModuleLoader.getBindingContext()Get the associated binding context.Methods in dev.metaschema.databind.model.metaschema with parameters of type IBindingContextModifier and TypeMethodDescriptionvoidModuleLoadingPostProcessor.postProcessModule(IModule module, IBindingContext bindingContext) Post-processes the provided Metaschema module.Constructors in dev.metaschema.databind.model.metaschema with parameters of type IBindingContextModifierConstructorDescriptionBindingConstraintLoader(IBindingContext bindingContext) Construct a new loader.BindingModuleLoader(IBindingContext bindingContext, ModuleLoadingPostProcessor postProcessor) Construct a new Metaschema loader. -
Uses of IBindingContext in dev.metaschema.databind.model.metaschema.binding
Constructors in dev.metaschema.databind.model.metaschema.binding with parameters of type IBindingContextModifierConstructorDescriptionMetaschemaModelModule(List<? extends IBoundModule> importedModules, IBindingContext bindingContext) Construct a new module instance. -
Uses of IBindingContext in dev.metaschema.model.testing
Methods in dev.metaschema.model.testing with parameters of type IBindingContextModifier and TypeMethodDescriptionprotected PathAbstractTestSuite.convertContent(URI resource, Path generationPath, IBindingContext context) Perform content conversion.protected Stream<org.junit.jupiter.api.DynamicNode>AbstractTestSuite.testFactory(IBindingContext bindingContext) Dynamically generate the unit tests. -
Uses of IBindingContext in dev.metaschema.model.testing.testsuite
Constructors in dev.metaschema.model.testing.testsuite with parameters of type IBindingContextModifierConstructorDescriptionMetaschemaTestSuiteModule(List<? extends IBoundModule> importedModules, IBindingContext bindingContext) Construct a new module instance. -
Uses of IBindingContext in dev.metaschema.modules.sarif
Methods in dev.metaschema.modules.sarif with parameters of type IBindingContextModifier and TypeMethodDescriptionvoidSarifValidationHandler.write(Path outputFile, IBindingContext bindingContext) Write the collection of findings to the provided output file.SarifValidationHandler.writeToString(IBindingContext bindingContext) Write the collection of findings to a string in SARIF format.