public abstract class AbstractSameAsRetrieverDecorator extends Object implements SameAsRetrieverDecorator
| Modifier and Type | Field and Description |
|---|---|
protected SameAsRetriever |
decoratedRetriever |
| Constructor and Description |
|---|
AbstractSameAsRetrieverDecorator(SameAsRetriever decoratedRetriever) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSameURIs(Set<String> uris) |
SameAsRetriever |
getDecorated() |
Set<String> |
retrieveSameURIs(String uri)
Returns a Set containing the URIs having a sameAs link to this URI or
null if no such URIs could be found.
|
Set<String> |
retrieveSameURIs(String domain,
String uri)
Returns a Set containing the URIs having a sameAs link to this URI or
null if no such URIs could be found.
|
protected SameAsRetriever decoratedRetriever
public AbstractSameAsRetrieverDecorator(SameAsRetriever decoratedRetriever)
public SameAsRetriever getDecorated()
getDecorated in interface SameAsRetrieverDecoratorpublic void addSameURIs(Set<String> uris)
addSameURIs in interface SameAsRetrieverpublic Set<String> retrieveSameURIs(String uri)
SingleUriSameAsRetrieverretrieveSameURIs in interface SingleUriSameAsRetrieveruri - the URI for which sameAs links should be discoveredpublic Set<String> retrieveSameURIs(String domain, String uri)
SingleUriSameAsRetrieverretrieveSameURIs in interface SingleUriSameAsRetrieverdomain - the domain of the URIuri - the URI for which sameAs links should be discoveredCopyright © 2014–2017. All rights reserved.