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 Format
    Modifier and Type
    Method
    Description
    <CLASS extends dev.metaschema.core.model.IBoundObject>
    IDeserializer<CLASS>
    DefaultBindingContext.newDeserializer(Format format, Class<CLASS> clazz)
    Gets a data IDeserializer which 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 data IDeserializer which 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 data ISerializer which 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 data ISerializer which can be used to write Java instance data for the provided class in the requested format.
    default dev.metaschema.core.model.validation.IValidationResult
    IBindingContext.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.IValidationResult
    IBindingContext.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 Format
    Modifier and Type
    Method
    Description
    DefaultBoundLoader.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 provided uri.
    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.
    ValidationContext.getFormat()
    Get the format being parsed.
    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 dev.metaschema.databind.io with parameters of type Format
    Modifier and Type
    Method
    Description
    default <CLASS extends dev.metaschema.core.model.IBoundObject>
    void
    IBoundLoader.convert(URI source, OutputStream os, Format toFormat, Class<CLASS> rootClass)
    Auto convert the provided source to the provided toFormat.
    default <CLASS extends dev.metaschema.core.model.IBoundObject>
    void
    IBoundLoader.convert(URI source, Writer writer, Format toFormat, Class<CLASS> rootClass)
    Auto convert the provided source to the provided toFormat.
    default <CLASS extends dev.metaschema.core.model.IBoundObject>
    void
    IBoundLoader.convert(URI source, Path destination, Format toFormat, Class<CLASS> rootClass)
    Auto convert the provided source to the provided toFormat.
    default <CLASS extends dev.metaschema.core.model.IBoundObject>
    void
    IBoundLoader.convert(Path source, OutputStream os, Format toFormat, Class<CLASS> rootClass)
    Auto convert the provided source to the provided toFormat.
    default <CLASS extends dev.metaschema.core.model.IBoundObject>
    void
    IBoundLoader.convert(Path source, Path destination, Format toFormat, Class<CLASS> rootClass)
    Auto convert the provided source to the provided toFormat.
    ModelDetector.detect(@Owning InputStream inputStream, URI resource, Format format)
    Analyzes the data from the provided inputStream to determine it's model.
    DefaultBoundLoader.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>
    CLASS
    DefaultBoundLoader.load(Class<CLASS> clazz, Format format, InputStream is, URI documentUri)
     
    <CLASS extends dev.metaschema.core.model.IBoundObject>
    CLASS
    IBoundLoader.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.IDocumentNodeItem
    DefaultBoundLoader.loadAsNodeItem(Format format, InputStream is, URI resource)
     
    dev.metaschema.core.metapath.item.node.IDocumentNodeItem
    DefaultBoundLoader.loadAsNodeItem(Format format, URI uri)
     
    dev.metaschema.core.metapath.item.node.IDocumentNodeItem
    IBoundLoader.loadAsNodeItem(Format format, InputStream is, URI resource)
    Load data expressed using the provided format and return that data as a Metapath node item.
    dev.metaschema.core.metapath.item.node.IDocumentNodeItem
    IBoundLoader.loadAsNodeItem(Format format, URI uri)
    Load data expressed using the provided format and return that data as a Metapath node item.
    default dev.metaschema.core.metapath.item.node.IDocumentNodeItem
    IBoundLoader.loadAsNodeItem(Format format, Path path)
    Load data expressed using the provided format and return that data as a Metapath node item.
    ValidationContext.of(URI source, dev.metaschema.core.model.IResourceLocation location, String path, Format format)
    Create a new validation context.
    ValidationContext.ofUnknownLocation(URI source, String path, Format format)
    Create a validation context with unknown location.
    static dev.metaschema.core.metapath.format.IPathFormatter
    Format.resolvePathFormatter(dev.metaschema.core.metapath.format.PathFormatSelection selection, Format format)
    Resolve the path formatter based on the selection and document format.