Uses of Enum
gov.nist.secauto.metaschema.databind.io.Format
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.
-
Uses of Format in gov.nist.secauto.metaschema.databind
Modifier and TypeMethodDescription<CLASS extends IBoundObject>
IDeserializer<CLASS>DefaultBindingContext.newDeserializer
(Format format, Class<CLASS> clazz) Gets a dataIDeserializer
which can be used to read Java instance data for the provided class from the requested format.<CLASS extends IBoundObject>
IDeserializer<CLASS>IBindingContext.newDeserializer
(Format format, Class<CLASS> clazz) Gets a dataIDeserializer
which can be used to read Java instance data for the provided class from the requested format.<CLASS extends IBoundObject>
ISerializer<CLASS>DefaultBindingContext.newSerializer
(Format format, Class<CLASS> clazz) Gets a dataISerializer
which can be used to write Java instance data for the provided class in the requested format.<CLASS extends IBoundObject>
ISerializer<CLASS>IBindingContext.newSerializer
(Format format, Class<CLASS> clazz) Gets a dataISerializer
which can be used to write Java instance data for the provided class in the requested format.default IValidationResult
IBindingContext.validate
(URI target, Format asFormat, IBindingContext.ISchemaValidationProvider schemaProvider, IConfiguration<ValidationFeature<?>> config) Load and perform schema and constraint validation on the target.default IValidationResult
IBindingContext.ISchemaValidationProvider.validateWithSchema
(URI target, Format asFormat, IBindingContext bindingContext) Validate the target resource. -
Uses of Format in gov.nist.secauto.metaschema.databind.io
Modifier and TypeMethodDescriptionDefaultBoundLoader.detectFormat
(URI uri) default Format
IBoundLoader.detectFormat
(File file) Determine the format of the provided resource.IBoundLoader.detectFormat
(URI uri) Determine the format of the resource identified by the provideduri
.default Format
IBoundLoader.detectFormat
(URL url) Determine the format of the provided resource.default Format
IBoundLoader.detectFormat
(Path path) Determine the format of the provided resource.FormatDetector.Result.getFormat()
Get the detected format.static Format
Returns the enum constant of this type with the specified name.static Format[]
Format.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptiondefault <CLASS extends IBoundObject>
voidIBoundLoader.convert
(URI source, OutputStream os, Format toFormat, Class<CLASS> rootClass) Auto convert the providedsource
to the providedtoFormat
.default <CLASS extends IBoundObject>
voidAuto convert the providedsource
to the providedtoFormat
.default <CLASS extends IBoundObject>
voidAuto convert the providedsource
to the providedtoFormat
.default <CLASS extends IBoundObject>
voidIBoundLoader.convert
(Path source, OutputStream os, Format toFormat, Class<CLASS> rootClass) Auto convert the providedsource
to the providedtoFormat
.default <CLASS extends IBoundObject>
voidAuto convert the providedsource
to the providedtoFormat
.@Owning ModelDetector.Result
ModelDetector.detect
(InputStream inputStream, Format format) Analyzes the data from the providedinputStream
to determine it's model.@Owning ModelDetector.Result
DefaultBoundLoader.detectModel
(InputStream is, Format format) IBoundLoader.detectModel
(InputStream is, Format format) Determine the model of the provided resource.<CLASS extends IBoundObject>
CLASSDefaultBoundLoader.load
(Class<CLASS> clazz, Format format, InputStream is, URI documentUri) <CLASS extends IBoundObject>
CLASSIBoundLoader.load
(Class<CLASS> clazz, Format format, InputStream is, URI documentUri) Load data from the specified resource into a bound object with the type of the specified Java class.DefaultBoundLoader.loadAsNodeItem
(Format format, InputStream is, URI documentUri) DefaultBoundLoader.loadAsNodeItem
(Format format, URI uri) IBoundLoader.loadAsNodeItem
(Format format, InputStream is, URI documentUri) Load data expressed using the providedformat
and return that data as a Metapath node item.IBoundLoader.loadAsNodeItem
(Format format, URI uri) Load data expressed using the providedformat
and return that data as a Metapath node item.default IDocumentNodeItem
IBoundLoader.loadAsNodeItem
(Format format, Path path) Load data expressed using the providedformat
and return that data as a Metapath node item.