JacksonSiteLink, SiteLinkImplpublic interface SiteLink
In spite of its name, the site link does not specify a full URL that it links
to. It only provides a page title and a site key that may be used to find a
URL. To do this, the site links need to be resolved using a Sites
object.
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<java.lang.String> |
getBadges() |
Get the list of badges of the linked article.
|
java.lang.String |
getPageTitle() |
Get the string title of the linked page.
|
java.lang.String |
getSiteKey() |
Get the string key of the linked site.
|
java.lang.String getPageTitle()
java.lang.String getSiteKey()
java.util.List<java.lang.String> getBadges()
Copyright © 2014–2017 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage