Enum Class Node.Type

java.lang.Object
java.lang.Enum<Node.Type>
org.luwrain.reader.Node.Type
All Implemented Interfaces:
Serializable, Comparable<Node.Type>, Constable
Enclosing class:
Node

public static enum Node.Type extends Enum<Node.Type>
  • Enum Constant Details

    • ROOT

      public static final Node.Type ROOT
    • SECTION

      public static final Node.Type SECTION
    • PARAGRAPH

      public static final Node.Type PARAGRAPH
    • TABLE

      public static final Node.Type TABLE
    • TABLE_ROW

      public static final Node.Type TABLE_ROW
    • TABLE_CELL

      public static final Node.Type TABLE_CELL
    • UNORDERED_LIST

      public static final Node.Type UNORDERED_LIST
    • ORDERED_LIST

      public static final Node.Type ORDERED_LIST
    • LIST_ITEM

      public static final Node.Type LIST_ITEM
  • Method Details

    • values

      public static Node.Type[] 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 Node.Type 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