Class AbstractOscalValidationCommand.OscalCommandExecutor
java.lang.Object
gov.nist.secauto.metaschema.cli.processor.command.AbstractCommandExecutor
gov.nist.secauto.oscal.tools.cli.core.commands.AbstractOscalValidationCommand.OscalCommandExecutor
- All Implemented Interfaces:
gov.nist.secauto.metaschema.cli.processor.command.ICommandExecutor
,gov.nist.secauto.metaschema.databind.IBindingContext.ISchemaValidationProvider
- Direct Known Subclasses:
AbstractDeprecatedOscalValidationSubcommand.DeprecatedOscalCommandExecutor
- Enclosing class:
- AbstractOscalValidationCommand
protected class AbstractOscalValidationCommand.OscalCommandExecutor
extends gov.nist.secauto.metaschema.cli.processor.command.AbstractCommandExecutor
-
Nested Class Summary
Nested classes/interfaces inherited from interface gov.nist.secauto.metaschema.cli.processor.command.ICommandExecutor
gov.nist.secauto.metaschema.cli.processor.command.ICommandExecutor.ExecutionFunction
-
Constructor Summary
ModifierConstructorDescriptionprotected
OscalCommandExecutor
(gov.nist.secauto.metaschema.cli.processor.CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine commandLine) -
Method Summary
Modifier and TypeMethodDescriptionprotected gov.nist.secauto.metaschema.databind.IBindingContext
getBindingContext
(Set<gov.nist.secauto.metaschema.core.model.constraint.IConstraintSet> constraintSets) org.json.JSONObject
getJsonSchema
(org.json.JSONObject json) getXmlSchemas
(URL targetResource) Methods inherited from class gov.nist.secauto.metaschema.cli.processor.command.AbstractCommandExecutor
getCallingContext, getCommand, getCommandLine
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface gov.nist.secauto.metaschema.databind.IBindingContext.ISchemaValidationProvider
validateWithSchema
-
Constructor Details
-
OscalCommandExecutor
protected OscalCommandExecutor(@NonNull gov.nist.secauto.metaschema.cli.processor.CLIProcessor.CallingContext callingContext, @NonNull org.apache.commons.cli.CommandLine commandLine)
-
-
Method Details
-
getBindingContext
protected gov.nist.secauto.metaschema.databind.IBindingContext getBindingContext(@NonNull Set<gov.nist.secauto.metaschema.core.model.constraint.IConstraintSet> constraintSets) -
getXmlSchemas
- Throws:
IOException
-
getJsonSchema
- Throws:
IOException
-