public abstract class LinkedDataFragmentRequestBase extends Object implements ILinkedDataFragmentRequest
ILinkedDataFragmentRequest.| Modifier and Type | Field and Description |
|---|---|
String |
datasetURL |
String |
fragmentURL |
long |
pageNumber |
boolean |
pageNumberWasRequested |
PARAMETERNAME_PAGE, TRIPLESPERPAGE| Constructor and Description |
|---|
LinkedDataFragmentRequestBase(String fragmentURL,
String datasetURL,
boolean pageNumberWasRequested,
long pageNumber) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDatasetURL()
Returns the URL of the dataset to which the requested LDF belongs.
|
String |
getFragmentURL()
Returns the URL of the requested LDF.
|
long |
getPageNumber()
Returns the number of the page requested for the LDF; if this is not a
page-based request (that is, if
ILinkedDataFragmentRequest.isPageRequest() returns true),
then this method returns 1. |
boolean |
isPageRequest()
Returns true if the request is for a specific page of the requested
fragment.
|
String |
toString() |
public final String fragmentURL
public final String datasetURL
public final boolean pageNumberWasRequested
public final long pageNumber
public String getFragmentURL()
ILinkedDataFragmentRequestgetFragmentURL in interface ILinkedDataFragmentRequestpublic String getDatasetURL()
ILinkedDataFragmentRequestgetDatasetURL in interface ILinkedDataFragmentRequestpublic boolean isPageRequest()
ILinkedDataFragmentRequestILinkedDataFragmentRequest.getPageNumber() can be used to obtain
the requested page number.isPageRequest in interface ILinkedDataFragmentRequestpublic long getPageNumber()
ILinkedDataFragmentRequestILinkedDataFragmentRequest.isPageRequest() returns true),
then this method returns 1.getPageNumber in interface ILinkedDataFragmentRequestCopyright © 2021. All rights reserved.