Enum AnyMETA.Name

java.lang.Object
java.lang.Enum<AnyMETA.Name>
com.aoapps.html.any.AnyMETA.Name
All Implemented Interfaces:
Serializable, Comparable<AnyMETA.Name>, Function<AnyDocument<?>,String>
Enclosing class:
AnyMETA<D extends AnyDocument<D>,PC extends AnyUnion_Metadata_Phrasing<D,PC>,E extends AnyMETA<D,PC,E>>

public static enum AnyMETA.Name extends Enum<AnyMETA.Name> implements Function<AnyDocument<?>,String>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    On iOS, you can specify is capable as a web application with launch icon.
    On iOS, you can specify a web application status bar style.
    On iOS, you can specify a web application title for the launch icon.
    application-name which defines the name of the application running in the web page.
    author which defines the name of the document's author.
    Specifies one or more color schemes with which the document is compatible.
    creator which defines the name of the creator of the document, such as an organization or institution.
    description which contains a short and accurate summary of the content of the page.
    generator which contains the identifier of the software that generated the page.
    googlebot, a synonym of robots, is only followed by Googlebot (the indexing crawler for Google).
    keywords which contains words relevant to the page's content separated by commas.
    publisher which defines the name of the document's publisher.
    referrer which controls the HTTP Referer header attached to requests sent from the document.
    The robots meta tag lets you utilize a granular, page-specific approach to controlling how an individual page should be indexed and served to users.
    slurp, is a synonym of robots, but only for Slurp - the crawler for Yahoo Search.
    theme-color which indicates a suggested color that user agents should use to customize the display of the page or of the surrounding user interface.
    viewport, which gives hints about the size of the initial size of the viewport.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(AnyDocument<?> document)
     
     
     
    Returns the enum constant of this type with the specified name.
    static AnyMETA.Name[]
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Enum Constant Details

    • APPLICATION_NAME

      public static final AnyMETA.Name APPLICATION_NAME
      application-name which defines the name of the application running in the web page.
    • AUTHOR

      public static final AnyMETA.Name AUTHOR
      author which defines the name of the document's author.
    • DESCRIPTION

      public static final AnyMETA.Name DESCRIPTION
      description which contains a short and accurate summary of the content of the page. Several browsers, like Firefox and Opera, use this as the default description of bookmarked pages.
    • GENERATOR

      public static final AnyMETA.Name GENERATOR
      generator which contains the identifier of the software that generated the page.
    • KEYWORDS

      public static final AnyMETA.Name KEYWORDS
      keywords which contains words relevant to the page's content separated by commas.
    • REFERRER

      public static final AnyMETA.Name REFERRER
      referrer which controls the HTTP Referer header attached to requests sent from the document.
    • THEME_COLOR

      public static final AnyMETA.Name THEME_COLOR
      theme-color which indicates a suggested color that user agents should use to customize the display of the page or of the surrounding user interface.
    • COLOR_SCHEME

      public static final AnyMETA.Name COLOR_SCHEME
      Specifies one or more color schemes with which the document is compatible.
    • CREATOR

      public static final AnyMETA.Name CREATOR
      creator which defines the name of the creator of the document, such as an organization or institution.
    • GOOGLEBOT

      public static final AnyMETA.Name GOOGLEBOT
      googlebot, a synonym of robots, is only followed by Googlebot (the indexing crawler for Google).
    • PUBLISHER

      public static final AnyMETA.Name PUBLISHER
      publisher which defines the name of the document's publisher.
    • ROBOTS

      public static final AnyMETA.Name ROBOTS

      The robots meta tag lets you utilize a granular, page-specific approach to controlling how an individual page should be indexed and served to users.

      See Robots meta tag, data-nosnippet, and X-Robots-Tag specifications.

    • SLURP

      public static final AnyMETA.Name SLURP
      slurp, is a synonym of robots, but only for Slurp - the crawler for Yahoo Search.
    • VIEWPORT

      public static final AnyMETA.Name VIEWPORT
      viewport, which gives hints about the size of the initial size of the viewport. Used by mobile devices only.
    • APPLE_MOBILE_WEB_APP_TITLE

      public static final AnyMETA.Name APPLE_MOBILE_WEB_APP_TITLE

      On iOS, you can specify a web application title for the launch icon.

      See Configuring Web Applications.

    • APPLE_MOBILE_WEB_APP_CAPABLE

      public static final AnyMETA.Name APPLE_MOBILE_WEB_APP_CAPABLE

      On iOS, you can specify is capable as a web application with launch icon. Use with caution.

    • APPLE_MOBILE_WEB_APP_STATUS_BAR_STYLE

      public static final AnyMETA.Name APPLE_MOBILE_WEB_APP_STATUS_BAR_STYLE

      On iOS, you can specify a web application status bar style.

      See Configuring Web Applications.

  • Method Details

    • values

      public static AnyMETA.Name[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AnyMETA.Name valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<AnyMETA.Name>
    • apply

      public String apply(AnyDocument<?> document)
      Specified by:
      apply in interface Function<AnyDocument<?>,String>
    • getValue

      public String getValue()