Index
All Classes and Interfaces|All Packages
A
- AbstractConversionCommandExecutor(CLIProcessor.CallingContext, CommandLine) - Constructor for class gov.nist.secauto.metaschema.cli.commands.AbstractConvertSubcommand.AbstractConversionCommandExecutor
-
Construct a new command executor.
- AbstractConvertSubcommand - Class in gov.nist.secauto.metaschema.cli.commands
-
Used by implementing classes to provide a content conversion command.
- AbstractConvertSubcommand() - Constructor for class gov.nist.secauto.metaschema.cli.commands.AbstractConvertSubcommand
- AbstractConvertSubcommand.AbstractConversionCommandExecutor - Class in gov.nist.secauto.metaschema.cli.commands
-
Used by implementing classes to provide for execution of a conversion command.
- AbstractValidateContentCommand - Class in gov.nist.secauto.metaschema.cli.commands
-
Used by implementing classes to provide a content validation command.
- AbstractValidateContentCommand() - Constructor for class gov.nist.secauto.metaschema.cli.commands.AbstractValidateContentCommand
- AbstractValidateContentCommand.AbstractValidationCommandExecutor - Class in gov.nist.secauto.metaschema.cli.commands
-
Drives the validation execution.
- AbstractValidationCommandExecutor(CLIProcessor.CallingContext, CommandLine) - Constructor for class gov.nist.secauto.metaschema.cli.commands.AbstractValidateContentCommand.AbstractValidationCommandExecutor
-
Construct a new command executor.
- AS_FORMAT_OPTION - Static variable in class gov.nist.secauto.metaschema.cli.commands.MetaschemaCommands
-
Used by commands to identify the source format for a content-related operation.
- AS_SCHEMA_FORMAT_OPTION - Static variable in class gov.nist.secauto.metaschema.cli.commands.MetaschemaCommands
-
Used by commands that produce schemas to identify the schema format to produce.
C
- CLI - Class in gov.nist.secauto.metaschema.cli
-
The main entry point for the CLI application.
- COMMANDS - Static variable in class gov.nist.secauto.metaschema.cli.commands.MetaschemaCommands
-
A list of the Metaschema-related command pathways, for reuse in this and other CLI applications.
D
- determineSourceFormat(CommandLine, Option, IBoundLoader, URI) - Static method in class gov.nist.secauto.metaschema.cli.commands.MetaschemaCommands
-
Detect the source format for content identified using the provided option.
E
- execute() - Method in class gov.nist.secauto.metaschema.cli.commands.AbstractConvertSubcommand.AbstractConversionCommandExecutor
- execute() - Method in class gov.nist.secauto.metaschema.cli.commands.AbstractValidateContentCommand.AbstractValidationCommandExecutor
-
Execute the validation operation.
G
- gatherOptions() - Method in class gov.nist.secauto.metaschema.cli.commands.AbstractConvertSubcommand
- gatherOptions() - Method in class gov.nist.secauto.metaschema.cli.commands.AbstractValidateContentCommand
- getBindingContext() - Method in class gov.nist.secauto.metaschema.cli.commands.AbstractConvertSubcommand.AbstractConversionCommandExecutor
-
Get the binding context to use for data processing.
- getBindingContext(Set<IConstraintSet>) - Method in class gov.nist.secauto.metaschema.cli.commands.AbstractValidateContentCommand.AbstractValidationCommandExecutor
-
Get the binding context to use for data processing.
- getDescription() - Method in class gov.nist.secauto.metaschema.cli.commands.metapath.MetapathCommand
- getExtraArguments() - Method in class gov.nist.secauto.metaschema.cli.commands.AbstractConvertSubcommand
- getExtraArguments() - Method in class gov.nist.secauto.metaschema.cli.commands.AbstractValidateContentCommand
- getFormat(CommandLine, Option) - Static method in class gov.nist.secauto.metaschema.cli.commands.MetaschemaCommands
-
Parse the command line options to get the selected format.
- getModule(CommandLine, IBindingContext) - Method in class gov.nist.secauto.metaschema.cli.commands.AbstractValidateContentCommand.AbstractValidationCommandExecutor
-
Get the module to use for validation.
- getName() - Method in class gov.nist.secauto.metaschema.cli.commands.AbstractConvertSubcommand
- getName() - Method in class gov.nist.secauto.metaschema.cli.commands.AbstractValidateContentCommand
- getName() - Method in class gov.nist.secauto.metaschema.cli.commands.metapath.MetapathCommand
- getResourceUri(String, URI) - Static method in class gov.nist.secauto.metaschema.cli.commands.MetaschemaCommands
-
For a given resource location, resolve the location into an absolute URI.
- getSchemaFormat(CommandLine, Option) - Static method in class gov.nist.secauto.metaschema.cli.commands.MetaschemaCommands
-
Parse the command line options to get the selected schema format.
- getSchemaValidationProvider(IModule, CommandLine, IBindingContext) - Method in class gov.nist.secauto.metaschema.cli.commands.AbstractValidateContentCommand.AbstractValidationCommandExecutor
-
Get the schema validation implementation requested based on the provided command line arguments.
- gov.nist.secauto.metaschema.cli - package gov.nist.secauto.metaschema.cli
- gov.nist.secauto.metaschema.cli.commands - package gov.nist.secauto.metaschema.cli.commands
-
Provides a collection of abstract and concrete command line interface (CLI) commands that process Metaschema module-based information.
- gov.nist.secauto.metaschema.cli.commands.metapath - package gov.nist.secauto.metaschema.cli.commands.metapath
-
Provides a collection of concrete command line interface (CLI) commands that process Metaschema Metapath-based information.
- gov.nist.secauto.metaschema.cli.util - package gov.nist.secauto.metaschema.cli.util
-
Provides utility methods for use in implementing command line interface commands.
H
- handleConstraintValidationFinding(ConstraintValidationFinding) - Method in class gov.nist.secauto.metaschema.cli.util.LoggingValidationHandler
- handleConversion(URI, Format, Writer, IBoundLoader) - Method in class gov.nist.secauto.metaschema.cli.commands.AbstractConvertSubcommand.AbstractConversionCommandExecutor
-
Called to perform a content conversion.
- handleDestination(String, CommandLine) - Static method in class gov.nist.secauto.metaschema.cli.commands.MetaschemaCommands
-
Get the provided destination path as an absolute
Path
for the resource. - handleJsonValidationFinding(JsonSchemaContentValidator.JsonValidationFinding) - Method in class gov.nist.secauto.metaschema.cli.util.LoggingValidationHandler
- handleSource(String, URI) - Static method in class gov.nist.secauto.metaschema.cli.commands.MetaschemaCommands
-
Get the provided source path or URI string as an absolute
URI
for the resource. - handleXmlValidationFinding(XmlSchemaContentValidator.XmlValidationFinding) - Method in class gov.nist.secauto.metaschema.cli.util.LoggingValidationHandler
I
- instance() - Static method in class gov.nist.secauto.metaschema.cli.util.LoggingValidationHandler
-
Get a singleton instance of the logging validation handler.
- instance(boolean) - Static method in class gov.nist.secauto.metaschema.cli.util.LoggingValidationHandler
-
Get a singleton instance of the logging validation handler.
- isLogExceptions() - Method in class gov.nist.secauto.metaschema.cli.util.LoggingValidationHandler
-
Determine if exceptions should be logged.
L
- loadConstraintSets(CommandLine, Option, URI) - Static method in class gov.nist.secauto.metaschema.cli.commands.MetaschemaCommands
-
Load a set of external Metaschema module constraints based on the provided command line option.
- loadModule(String, URI, IBindingContext) - Static method in class gov.nist.secauto.metaschema.cli.commands.MetaschemaCommands
-
Load a Metaschema module from the provided relative resource path.
- loadModule(URI, IBindingContext) - Static method in class gov.nist.secauto.metaschema.cli.commands.MetaschemaCommands
-
Load a Metaschema module from the provided resource path.
- loadModule(CommandLine, Option, URI, IBindingContext) - Static method in class gov.nist.secauto.metaschema.cli.commands.MetaschemaCommands
-
Load a Metaschema module based on the provided command line option.
- LoggingValidationHandler - Class in gov.nist.secauto.metaschema.cli.util
-
Supports logging validation findings to the console using ANSI color codes to improve the visibility of warnings and errors.
M
- main(String[]) - Static method in class gov.nist.secauto.metaschema.cli.CLI
-
The main command line entry point.
- MetapathCommand - Class in gov.nist.secauto.metaschema.cli.commands.metapath
-
This sub-command implementation contains all command that relate to Metapath execution.
- MetapathCommand() - Constructor for class gov.nist.secauto.metaschema.cli.commands.metapath.MetapathCommand
-
Constructor for a new Metapath command.
- METASCHEMA_OPTIONAL_OPTION - Static variable in class gov.nist.secauto.metaschema.cli.commands.MetaschemaCommands
-
Used by commands to declare an optional Metaschema module for processing.
- METASCHEMA_REQUIRED_OPTION - Static variable in class gov.nist.secauto.metaschema.cli.commands.MetaschemaCommands
-
Used by commands to declare a required Metaschema module for processing.
- MetaschemaCommands - Class in gov.nist.secauto.metaschema.cli.commands
-
This class provides a variety of utility methods for processing Metaschema-related commands.
N
- newBindingContextWithDynamicCompilation() - Static method in class gov.nist.secauto.metaschema.cli.commands.MetaschemaCommands
-
Create a new
IBindingContext
that is configured for dynamic compilation. - newBindingContextWithDynamicCompilation(Set<IConstraintSet>) - Static method in class gov.nist.secauto.metaschema.cli.commands.MetaschemaCommands
-
Create a new
IBindingContext
that is configured for dynamic compilation and to use the provided constraints. - newTempDir() - Static method in class gov.nist.secauto.metaschema.cli.commands.MetaschemaCommands
-
Create a temporary directory for ephemeral files that will be deleted on shutdown.
O
- OVERWRITE_OPTION - Static variable in class gov.nist.secauto.metaschema.cli.commands.MetaschemaCommands
-
Used by commands to protect existing files from being overwritten, unless this option is provided.
R
- runCli(String...) - Static method in class gov.nist.secauto.metaschema.cli.CLI
-
Execute a command line.
T
- TO_OPTION - Static variable in class gov.nist.secauto.metaschema.cli.commands.MetaschemaCommands
-
Used by commands to identify the target format for a content conversion operation.
All Classes and Interfaces|All Packages