Package com.networknt.schema.resource
Interface SchemaLoader
-
- All Known Implementing Classes:
ClasspathSchemaLoader
,DefaultSchemaLoader
,MapSchemaLoader
,UriSchemaLoader
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface SchemaLoader
Schema Loader used to load a schema given the retrieval IRI.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStreamSource
getSchema(AbsoluteIri absoluteIri)
Loads a schema given the retrieval IRI.
-
-
-
Method Detail
-
getSchema
InputStreamSource getSchema(AbsoluteIri absoluteIri)
Loads a schema given the retrieval IRI.- Parameters:
absoluteIri
- the retrieval IRI- Returns:
- the input stream source
-
-