Class LinkAttributes

  • All Implemented Interfaces:
    Serializable

    public class LinkAttributes
    extends ExtensionMetadata
    Data model for Google extension to the sitemap protocol regarding alternate links indexing. Cf. https://support.google.com/webmasters/answer/189077:
    Each <url> element must have a child element: <xhtml:link rel="alternate" hreflang="supported_language-code"> that lists every alternate version of the page, including itself. The order of these child <xhtml:link> elements doesn't matter, though you might want to keep them in the same order to make them easier for you to check for mistakes.
    See Also:
    Serialized Form