public default MetaAttributesDsl withKeywords(final LocalizedStrings keywords) { return withKeywords(Optional.of(keywords)); }
public static MetaAttributes metaAttributesOf(final Locale locale, final String metaTitle, final String metaDescription, final String metaKeywords) { return MetaAttributesDsl.of() .withTitle(LocalizedStrings.of(locale, metaTitle)) .withDescription(LocalizedStrings.of(locale, metaDescription)) .withKeywords(LocalizedStrings.of(locale, metaKeywords)); } }
static MetaAttributesDsl metaAttributesOf(final Locale locale, final String metaTitle, final String metaDescription, final String metaKeywords) { return MetaAttributesDsl.of() .withTitle(LocalizedString.of(locale, metaTitle)) .withDescription(LocalizedString.of(locale, metaDescription)) .withKeywords(LocalizedString.of(locale, metaKeywords)); } }