Class MetaSchemaMapper

  • All Implemented Interfaces:
    SchemaMapper

    public class MetaSchemaMapper
    extends java.lang.Object
    implements SchemaMapper
    Maps the JSON Schema meta schema to the class path location.
    • Field Detail

      • CLASSPATH_PREFIX

        private static final java.lang.String CLASSPATH_PREFIX
        See Also:
        Constant Field Values
      • HTTP_JSON_SCHEMA_ORG_PREFIX

        private static final java.lang.String HTTP_JSON_SCHEMA_ORG_PREFIX
        See Also:
        Constant Field Values
      • HTTPS_JSON_SCHEMA_ORG_PREFIX

        private static final java.lang.String HTTPS_JSON_SCHEMA_ORG_PREFIX
        See Also:
        Constant Field Values
    • Constructor Detail

      • MetaSchemaMapper

        public MetaSchemaMapper()
    • Method Detail

      • map

        public AbsoluteIri map​(AbsoluteIri absoluteIRI)
        Description copied from interface: SchemaMapper
        Maps an ID indicated by an absolute IRI to a retrieval IRI.
        Specified by:
        map in interface SchemaMapper
        Parameters:
        absoluteIRI - the ID
        Returns:
        the retrieval IRI or null if this mapper doesn't support the mapping