Interface SchemaRetriever
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Loads schema documents referenced by URI (for example through
$ref).- Since:
- 2.3.2
- Author:
- Graeme Rocher
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SchemaRetrieverA retriever that cannot load any document. -
Method Summary
-
Field Details
-
NONE
A retriever that cannot load any document.
-
-
Method Details
-
retrieve
Loads the schema document identified by the given absolute URI.- Parameters:
uri- The absolute URI, without fragment- Returns:
- The parsed document, or null if no document exists for the URI
- Throws:
IOException- If the document cannot be read
-