@Immutable public class FederatedUrisScheme extends Object implements UrisScheme
| Constructor and Description |
|---|
FederatedUrisScheme(UrisScheme mainUris,
UrisScheme federatedUris) |
| Modifier and Type | Method and Description |
|---|---|
String |
entityData()
Uri prefix wikibase uses to describe exports.
|
String |
entityDataHttps()
Uri prefix wikibase uses to describe exports, with https prefix.
|
String |
entityIdToURI(String entityId)
Convert entity ID to full URI.
|
Collection<String> |
entityInitials()
Get the list of letters that can start entities.
|
Map<String,String> |
entityPrefixes()
Map of RDF prefixes for entities to full URIs.
|
Collection<String> |
entityURIs()
Get the list of all possible entity prefixes.
|
String |
entityURItoId(String uri)
Convert entity URI to entity ID.
|
boolean |
isEntityURI(String uri)
Check whether the argument is an entity URI.
|
StringBuilder |
prefixes(StringBuilder query)
Add the prefixes for all related uris.
|
String |
property(PropertyType p)
Uri prefix wikibase uses for property types.
|
String |
property(String suffix)
Uri prefix wikibase uses for property types, from short suffix.
|
String |
reference()
Uris prefix wikibase uses for references.
|
String |
root()
The root of the wikibase uris - http://www.wikidata.org for Wikidata.
|
String |
statement()
Prefix wikibase uses for statements.
|
boolean |
supportsInitial(String entityId) |
boolean |
supportsUri(String uri) |
String |
value()
Uri prefix wikibase uses for values.
|
public FederatedUrisScheme(UrisScheme mainUris, UrisScheme federatedUris)
public StringBuilder prefixes(StringBuilder query)
UrisSchemeprefixes in interface UrisSchemepublic String root()
UrisSchemeroot in interface UrisSchemepublic String entityData()
UrisSchemeentityData in interface UrisSchemepublic String entityDataHttps()
UrisSchemeentityDataHttps in interface UrisSchemepublic String entityIdToURI(String entityId)
UrisSchemeentityIdToURI in interface UrisSchemepublic String entityURItoId(String uri)
UrisSchemeentityURItoId in interface UrisSchemepublic boolean isEntityURI(String uri)
UrisSchemeisEntityURI in interface UrisSchemepublic Collection<String> entityURIs()
UrisSchemeentityURIs in interface UrisSchemepublic Map<String,String> entityPrefixes()
UrisSchemeentityPrefixes in interface UrisSchemepublic Collection<String> entityInitials()
UrisSchemeentityInitials in interface UrisSchemepublic String statement()
UrisSchemestatement in interface UrisSchemepublic String value()
UrisSchemevalue in interface UrisSchemepublic String reference()
UrisSchemereference in interface UrisSchemepublic String property(PropertyType p)
UrisSchemeproperty in interface UrisSchemepublic String property(String suffix)
UrisSchemeproperty in interface UrisSchemepublic boolean supportsUri(String uri)
supportsUri in interface UrisSchemepublic boolean supportsInitial(String entityId)
supportsInitial in interface UrisSchemeCopyright © 2019. All rights reserved.