Package com.networknt.schema.resource
Class DisallowSchemaLoader
java.lang.Object
com.networknt.schema.resource.DisallowSchemaLoader
- All Implemented Interfaces:
SchemaLoader
SchemaLoader that disallows loading external resources.-
Method Summary
Modifier and TypeMethodDescriptionstatic DisallowSchemaLoaderDisallows loading schemas from external resources.getSchema(AbsoluteIri absoluteIri) Loads a schema given the retrieval IRI.
-
Method Details
-
getInstance
Disallows loading schemas from external resources.- Returns:
- the disallow schema loader
-
getSchema
Description copied from interface:SchemaLoaderLoads a schema given the retrieval IRI.- Specified by:
getSchemain interfaceSchemaLoader- Parameters:
absoluteIri- the retrieval IRI- Returns:
- the input stream source
-