Class CSS20GenericFontFamily

java.lang.Object
com.adobe.fontengine.inlineformatting.css20.CSS20GenericFontFamily

public final class CSS20GenericFontFamily extends Object
This class provides an enumeration of the possible values for CSS generic font families.

Concurrency

Instances of this class are immutable after construction and contain no mutable static data. Therefore, they are threadsafe.
  • Field Details

  • Method Details

    • name

      public String name()
      Get the name of the generic family.
      Returns:
      the name of the generic family
    • parse

      public static CSS20GenericFontFamily parse(String text)
      Parse the text and return the CSS20GenericFontFamily object which is represented if any.
      Parameters:
      text - textual representation of the generic font family
      Returns:
      CSS20GenericFontFamily represented by the text value