Package com.github.jsonldjava.core
Class RemoteDocument
java.lang.Object
com.github.jsonldjava.core.RemoteDocument
Encapsulates a URL along with the parsed resource matching the URL.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRemoteDocument
(String url, Object document) Create a new RemoteDocument with the URL and the parsed resource for the document. -
Method Summary
Modifier and TypeMethodDescriptionGet the parsed resource for this document.Get the URL for this document.
-
Field Details
-
documentUrl
-
document
-
-
Constructor Details
-
RemoteDocument
Create a new RemoteDocument with the URL and the parsed resource for the document.- Parameters:
url
- The URLdocument
- The parsed resource for the document
-
-
Method Details
-
getDocumentUrl
Get the URL for this document.- Returns:
- The URL for this document, as a String
-
getDocument
Get the parsed resource for this document.- Returns:
- The parsed resource for this document
-