Package com.github.jsonldjava.core
Class RemoteDocument
- java.lang.Object
-
- com.github.jsonldjava.core.RemoteDocument
-
public class RemoteDocument extends java.lang.Object
Encapsulates a URL along with the parsed resource matching the URL.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object
document
private java.lang.String
documentUrl
-
Constructor Summary
Constructors Constructor Description RemoteDocument(java.lang.String url, java.lang.Object document)
Create a new RemoteDocument with the URL and the parsed resource for the document.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getDocument()
Get the parsed resource for this document.java.lang.String
getDocumentUrl()
Get the URL for this document.
-