Interface DocumentLoader
- All Known Implementing Classes:
DefaultHttpLoader, FileLoader, HttpLoader, SchemeRouter
public interface DocumentLoader
The
DocumentLoader defines an interface that custom document
loaders have to implement to be used to retrieve remote documents and
contexts.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionloadDocument(URI url, DocumentLoaderOptions options) Retrieve a remote document.
-
Method Details
-
loadDocument
Retrieve a remote document.- Parameters:
url- of the remote document to fetchoptions- to set the behavior of the loader- Returns:
Documentrepresenting a remote document- Throws:
JsonLdError
-