Class MetaSchemaIdResolver

java.lang.Object
com.networknt.schema.resource.MetaSchemaIdResolver
All Implemented Interfaces:
SchemaIdResolver

public class MetaSchemaIdResolver extends Object implements SchemaIdResolver
Maps the JSON Schema meta schema to the class path location.
  • Constructor Details

    • MetaSchemaIdResolver

      public MetaSchemaIdResolver()
  • Method Details

    • getInstance

      public static MetaSchemaIdResolver getInstance()
    • resolve

      public AbsoluteIri resolve(AbsoluteIri absoluteIRI)
      Description copied from interface: SchemaIdResolver
      Resolves a schema $id indicated by an absolute IRI to a retrieval IRI.
      Specified by:
      resolve in interface SchemaIdResolver
      Parameters:
      absoluteIRI - the $id of the schema
      Returns:
      the retrieval IRI or null if this resolver doesn't support the mapping