Uses of Enum
dev.metaschema.databind.io.Format
Packages that use Format
Package
Description
Support for parsing Metaschema module-based data using Java class bindings.
Provides core functionality for reading and writing Metaschema instance data
to and from bound Java objects.
-
Uses of Format in dev.metaschema.databind
Methods in dev.metaschema.databind with parameters of type FormatModifier and TypeMethodDescription<CLASS extends dev.metaschema.core.model.IBoundObject>
IDeserializer<CLASS>DefaultBindingContext.newDeserializer(Format format, Class<CLASS> clazz) Gets a dataIDeserializerwhich can be used to read Java instance data for the provided class from the requested format.<CLASS extends dev.metaschema.core.model.IBoundObject>
IDeserializer<CLASS>IBindingContext.newDeserializer(Format format, Class<CLASS> clazz) Gets a dataIDeserializerwhich can be used to read Java instance data for the provided class from the requested format.<CLASS extends dev.metaschema.core.model.IBoundObject>
ISerializer<CLASS>DefaultBindingContext.newSerializer(Format format, Class<CLASS> clazz) Gets a dataISerializerwhich can be used to write Java instance data for the provided class in the requested format.<CLASS extends dev.metaschema.core.model.IBoundObject>
ISerializer<CLASS>IBindingContext.newSerializer(Format format, Class<CLASS> clazz) Gets a dataISerializerwhich can be used to write Java instance data for the provided class in the requested format.default dev.metaschema.core.model.validation.IValidationResultIBindingContext.validate(URI target, Format asFormat, IBindingContext.ISchemaValidationProvider schemaProvider, dev.metaschema.core.configuration.IConfiguration<dev.metaschema.core.model.constraint.ValidationFeature<?>> config) Load and perform schema and constraint validation on the target.default dev.metaschema.core.model.validation.IValidationResultIBindingContext.ISchemaValidationProvider.validateWithSchema(URI target, Format asFormat, IBindingContext bindingContext) Validate the target resource. -
Uses of Format in dev.metaschema.databind.io
Methods in dev.metaschema.databind.io that return FormatModifier and TypeMethodDescriptionDefaultBoundLoader.detectFormat(URI uri) default FormatIBoundLoader.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 FormatIBoundLoader.detectFormat(URL url) Determine the format of the provided resource.default FormatIBoundLoader.detectFormat(Path path) Determine the format of the provided resource.FormatDetector.Result.getFormat()Get the detected format.ValidationContext.getFormat()Get the format being parsed.static FormatReturns 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 dev.metaschema.databind.io with parameters of type FormatModifier and TypeMethodDescriptiondefault <CLASS extends dev.metaschema.core.model.IBoundObject>
voidIBoundLoader.convert(URI source, OutputStream os, Format toFormat, Class<CLASS> rootClass) Auto convert the providedsourceto the providedtoFormat.default <CLASS extends dev.metaschema.core.model.IBoundObject>
voidAuto convert the providedsourceto the providedtoFormat.default <CLASS extends dev.metaschema.core.model.IBoundObject>
voidAuto convert the providedsourceto the providedtoFormat.default <CLASS extends dev.metaschema.core.model.IBoundObject>
voidIBoundLoader.convert(Path source, OutputStream os, Format toFormat, Class<CLASS> rootClass) Auto convert the providedsourceto the providedtoFormat.default <CLASS extends dev.metaschema.core.model.IBoundObject>
voidAuto convert the providedsourceto the providedtoFormat.@Owning ModelDetector.ResultModelDetector.detect(@Owning InputStream inputStream, URI resource, Format format) Analyzes the data from the providedinputStreamto determine it's model.@Owning ModelDetector.ResultDefaultBoundLoader.detectModel(InputStream is, URI resource, Format format) IBoundLoader.detectModel(InputStream is, URI resource, Format format) Determine the model of the provided resource.<CLASS extends dev.metaschema.core.model.IBoundObject>
CLASSDefaultBoundLoader.load(Class<CLASS> clazz, Format format, InputStream is, URI documentUri) <CLASS extends dev.metaschema.core.model.IBoundObject>
CLASSIBoundLoader.load(Class<CLASS> clazz, Format format, InputStream is, URI resource) Load data from the specified resource into a bound object with the type of the specified Java class.dev.metaschema.core.metapath.item.node.IDocumentNodeItemDefaultBoundLoader.loadAsNodeItem(Format format, InputStream is, URI resource) dev.metaschema.core.metapath.item.node.IDocumentNodeItemDefaultBoundLoader.loadAsNodeItem(Format format, URI uri) dev.metaschema.core.metapath.item.node.IDocumentNodeItemIBoundLoader.loadAsNodeItem(Format format, InputStream is, URI resource) Load data expressed using the providedformatand return that data as a Metapath node item.dev.metaschema.core.metapath.item.node.IDocumentNodeItemIBoundLoader.loadAsNodeItem(Format format, URI uri) Load data expressed using the providedformatand return that data as a Metapath node item.default dev.metaschema.core.metapath.item.node.IDocumentNodeItemIBoundLoader.loadAsNodeItem(Format format, Path path) Load data expressed using the providedformatand return that data as a Metapath node item.static ValidationContextValidationContext.of(URI source, dev.metaschema.core.model.IResourceLocation location, String path, Format format) Create a new validation context.static ValidationContextValidationContext.ofUnknownLocation(URI source, String path, Format format) Create a validation context with unknown location.static dev.metaschema.core.metapath.format.IPathFormatterFormat.resolvePathFormatter(dev.metaschema.core.metapath.format.PathFormatSelection selection, Format format) Resolve the path formatter based on the selection and document format.