Uses of Class
gov.nist.secauto.metaschema.databind.io.Format
-
Packages that use Format Package Description gov.nist.secauto.metaschema.databind The core implementation of the metaschema binding framework.gov.nist.secauto.metaschema.databind.io Provides core functionality for reading and writing instance data to and from bound objects. -
-
Uses of Format in gov.nist.secauto.metaschema.databind
Methods in gov.nist.secauto.metaschema.databind with parameters of type Format Modifier and Type Method Description <CLASS> 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> 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> 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 to the requested format.<CLASS> 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 to the requested format.default IValidationResult
IBindingContext. validate(Path target, Format asFormat, IBindingContext.IValidationSchemaProvider schemaProvider)
Load and perform schema and constraint validation on the target. -
Uses of Format in gov.nist.secauto.metaschema.databind.io
Methods in gov.nist.secauto.metaschema.databind.io that return Format Modifier and Type Method Description Format
FormatDetector.Result. getFormat()
Get the detected format.static Format
Format. valueOf(String name)
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.Methods in gov.nist.secauto.metaschema.databind.io with parameters of type Format Modifier and Type Method Description default <CLASS> void
IBoundLoader. convert(Path source, OutputStream os, Format toFormat, Class<CLASS> rootClass)
Auto convert the providedsource
to the providedtoFormat
.default <CLASS> void
IBoundLoader. convert(Path source, Path destination, Format toFormat, Class<CLASS> rootClass)
Auto convert the providedsource
to the providedtoFormat
.ModelDetector.Result
ModelDetector. detect(InputStream inputStream, Format format)
Analyzes the data from the providedinputStream
to determine it's model.IDocumentNodeItem
DefaultBoundLoader. loadAsNodeItem(Format format, InputStream is, URI documentUri)
IDocumentNodeItem
DefaultBoundLoader. loadAsNodeItem(Format format, URI uri)
IDocumentNodeItem
IBoundLoader. loadAsNodeItem(Format format, InputStream is, URI documentUri)
Load data expressed using the providedformat
and return that data as a Metapath node item.IDocumentNodeItem
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.
-