Package com.github.jsonldjava.core
Class RemoteDocument
- java.lang.Object
-
- com.github.jsonldjava.core.RemoteDocument
-
public class RemoteDocument extends java.lang.ObjectEncapsulates a URL along with the parsed resource matching the URL.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Objectdocumentprivate java.lang.StringdocumentUrl
-
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.ObjectgetDocument()Get the parsed resource for this document.java.lang.StringgetDocumentUrl()Get the URL for this document.
-