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 classGoogleNewsExtension.AccessRestrictionstatic classGoogleNewsExtension.Genre
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull GoogleNewsExtensionsetAccessRestriction(@Nullable GoogleNewsExtension.AccessRestriction accessRestriction)@NotNull GoogleNewsExtensionsetGenres(@Nullable Collection<GoogleNewsExtension.Genre> genres)@NotNull GoogleNewsExtensionsetKeywords(@Nullable Collection<String> keywords)@NotNull GoogleNewsExtensionsetPublication(@NotNull String name, @NotNull Locale locale)@NotNull GoogleNewsExtensionsetPublicationDate(@NotNull LocalDate date)@NotNull GoogleNewsExtensionsetPublicationDate(@NotNull OffsetDateTime date)@NotNull GoogleNewsExtensionsetStockTickers(@Nullable Collection<String> stockTickers)@NotNull GoogleNewsExtensionsetTitle(@NotNull String title)
-
-
-
Method Detail
-
setPublication
@NotNull @NotNull GoogleNewsExtension setPublication(@NotNull @NotNull String name, @NotNull @NotNull Locale locale)
-
setPublicationDate
@NotNull @NotNull GoogleNewsExtension setPublicationDate(@NotNull @NotNull OffsetDateTime date)
-
setPublicationDate
@NotNull @NotNull GoogleNewsExtension setPublicationDate(@NotNull @NotNull LocalDate date)
-
setTitle
@NotNull @NotNull GoogleNewsExtension setTitle(@NotNull @NotNull String title)
-
setAccessRestriction
@NotNull @NotNull GoogleNewsExtension setAccessRestriction(@Nullable @Nullable GoogleNewsExtension.AccessRestriction accessRestriction)
-
setGenres
@NotNull @NotNull GoogleNewsExtension setGenres(@Nullable @Nullable Collection<GoogleNewsExtension.Genre> genres)
-
setKeywords
@NotNull @NotNull GoogleNewsExtension setKeywords(@Nullable @Nullable Collection<String> keywords)
-
setStockTickers
@NotNull @NotNull GoogleNewsExtension setStockTickers(@Nullable @Nullable Collection<String> stockTickers)
-
-