Enum Class ParseConfiguration.ParsingMode

java.lang.Object
java.lang.Enum<ParseConfiguration.ParsingMode>
org.attoparser.config.ParseConfiguration.ParsingMode
All Implemented Interfaces:
Serializable, Comparable<ParseConfiguration.ParsingMode>, Constable
Enclosing class:
ParseConfiguration

public static enum ParseConfiguration.ParsingMode extends Enum<ParseConfiguration.ParsingMode>

Enumeration used for determining the parsing mode, which will affect the parser's behaviour. Values are XML and HTML.

This enumeration is used at the ParseConfiguration class.

  • Enum Constant Details

  • Constructor Details

    • ParsingMode

      private ParsingMode()
  • Method Details

    • values

      public static ParseConfiguration.ParsingMode[] 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 ParseConfiguration.ParsingMode 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