Enum Class WrapperType

java.lang.Object
java.lang.Enum<WrapperType>
com.j3d.gen.docs.reader.tokens.WrapperType
All Implemented Interfaces:
Serializable, Comparable<WrapperType>, Constable

public enum WrapperType extends Enum<WrapperType>
Enum representing different types of wrappers or blocks of content that can be found in a document.
Author:
Lehlogonolo Poole
  • Enum Constant Details

    • HTML_TAG

      public static final WrapperType HTML_TAG
      Represents a generic HTML tag that is not specifically handled by other wrapper types.
    • PARAGRAPH

      public static final WrapperType PARAGRAPH
      Represents a paragraph of text.
    • LINE_SEPARATOR

      public static final WrapperType LINE_SEPARATOR
      Represents a line separator.
    • CODEBLOCK

      public static final WrapperType CODEBLOCK
      Represents a block of code.
  • Constructor Details

    • WrapperType

      private WrapperType()
  • Method Details

    • values

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

      public static WrapperType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null