Package | Description |
---|---|
nl.knaw.dans.rs.aggregator.discover |
Classes for discovering sitemaps on ResourceSync Sources.
|
nl.knaw.dans.rs.aggregator.xml |
JAXB implementation for marshalling and unmarshalling sitemap documents.
|
Modifier and Type | Method and Description |
---|---|
List<Result<RsRoot>> |
ResultIndexPivot.listRsRootResults(Capability capability) |
List<Result<Sitemapindex>> |
ResultIndexPivot.listSitemapindexResults(Capability capability) |
List<String> |
ResultIndexPivot.listSitemapLocations(Capability capability)
List the values of the <loc> element of <sitemap> elements of documents of type sitemapindex with
the given capability.
|
List<Result<Urlset>> |
UrlSetPivot.listSortedUrlsetResults(Capability capability) |
List<UrlItem> |
UrlSetPivot.listUrlItems(Capability capability) |
List<String> |
UrlSetPivot.listUrlLocations(Capability capability)
List the values of the <loc> element of <url> elements of documents of type urlset with
the given capability.
|
List<Result<Urlset>> |
UrlSetPivot.listUrlsetResults(Capability capability) |
Map<String,UrlItem> |
UrlSetPivot.mapUrlItemsByLoc(Capability capability) |
Map<URI,UrlItem> |
UrlSetPivot.mapUrlItemsByUri(Capability capability) |
Modifier and Type | Method and Description |
---|---|
static Capability |
Capability.forString(String xmlValue)
Get the Capability corresponding to the given
xmlValue . |
Capability[] |
Capability.getChildRelations()
The capability of possible child documents as expressed in the <loc> element of <url> and
<sitemap>.
|
Capability |
Capability.getIndexRelation()
The capability of a parent document expressed with a link with relation type 'index'.
|
Capability |
Capability.getUpRelation()
The capability of a parent document expressed with a link with relation type 'up'.
|
static Capability |
Capability.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Capability[] |
Capability.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Optional<Capability> |
RsRoot.getCapability() |
Modifier and Type | Method and Description |
---|---|
boolean |
Capability.verifyChildRelation(Capability relation)
Verify that the given Capability is a valid value for possible child documents as expressed in
the <loc> element of <url> and <sitemap>.
|
boolean |
Capability.verifyIndexRelation(Capability relation)
Verify that the given Capability is a valid value for the
index relation in a document
of this Capability. |
boolean |
Capability.verifyUpRelation(Capability relation)
Verify that the given Capability is a valid value for the
up relation in a document
of this Capability. |
Copyright © 2017. All rights reserved.