@ProviderType
public interface Sitemap
Url
object is returned which
again allows to add more details to the added location.
Implementations may build an in-memory data structure when addUrl(String)
is called, or write each
location on an underlying stream immediately.
Modifier and Type | Method and Description |
---|---|
@NotNull Url |
addUrl(@NotNull java.lang.String location)
Adds a location to the
Sitemap . |
@NotNull @NotNull Url addUrl(@NotNull @NotNull java.lang.String location) throws SitemapException
Sitemap
. The returned Url
can be used to add more details to the so
created object.location
- the required location of the entry to add.Url
object giving access to the location's detailsSitemapException
- if any internal operation of the Sitemap failsCopyright © 2010 - 2023 Adobe. All Rights Reserved