Interface GoogleNewsExtension
-
- All Superinterfaces:
Extension
@ProviderType public interface GoogleNewsExtension extends Extension
An extension to add news metadata to anUrl
.- See Also:
- Google News sitemaps
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
GoogleNewsExtension.AccessRestriction
static class
GoogleNewsExtension.Genre
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull GoogleNewsExtension
setAccessRestriction(@Nullable GoogleNewsExtension.AccessRestriction accessRestriction)
@NotNull GoogleNewsExtension
setGenres(@Nullable java.util.Collection<GoogleNewsExtension.Genre> genres)
@NotNull GoogleNewsExtension
setKeywords(@Nullable java.util.Collection<java.lang.String> keywords)
@NotNull GoogleNewsExtension
setPublication(@NotNull java.lang.String name, @NotNull java.util.Locale locale)
@NotNull GoogleNewsExtension
setPublicationDate(@NotNull java.time.LocalDate date)
@NotNull GoogleNewsExtension
setPublicationDate(@NotNull java.time.OffsetDateTime date)
@NotNull GoogleNewsExtension
setStockTickers(@Nullable java.util.Collection<java.lang.String> stockTickers)
@NotNull GoogleNewsExtension
setTitle(@NotNull java.lang.String title)
-
-
-
Method Detail
-
setPublication
@NotNull @NotNull GoogleNewsExtension setPublication(@NotNull @NotNull java.lang.String name, @NotNull @NotNull java.util.Locale locale)
-
setPublicationDate
@NotNull @NotNull GoogleNewsExtension setPublicationDate(@NotNull @NotNull java.time.OffsetDateTime date)
-
setPublicationDate
@NotNull @NotNull GoogleNewsExtension setPublicationDate(@NotNull @NotNull java.time.LocalDate date)
-
setTitle
@NotNull @NotNull GoogleNewsExtension setTitle(@NotNull @NotNull java.lang.String title)
-
setAccessRestriction
@NotNull @NotNull GoogleNewsExtension setAccessRestriction(@Nullable @Nullable GoogleNewsExtension.AccessRestriction accessRestriction)
-
setGenres
@NotNull @NotNull GoogleNewsExtension setGenres(@Nullable @Nullable java.util.Collection<GoogleNewsExtension.Genre> genres)
-
setKeywords
@NotNull @NotNull GoogleNewsExtension setKeywords(@Nullable @Nullable java.util.Collection<java.lang.String> keywords)
-
setStockTickers
@NotNull @NotNull GoogleNewsExtension setStockTickers(@Nullable @Nullable java.util.Collection<java.lang.String> stockTickers)
-
-