Class CSS20GenericFontFamily


  • public final class CSS20GenericFontFamily
    extends java.lang.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.
    • Method Detail

      • name

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

        public static CSS20GenericFontFamily parse​(java.lang.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