Module aya.base

Enum Class CodeAttrProcessor

java.lang.Object
java.lang.Enum<CodeAttrProcessor>
org.aya.concrete.remark.CodeAttrProcessor
All Implemented Interfaces:
Serializable, Comparable<CodeAttrProcessor>, Constable, org.commonmark.parser.delimiter.DelimiterProcessor

public enum CodeAttrProcessor extends Enum<CodeAttrProcessor> implements org.commonmark.parser.delimiter.DelimiterProcessor
  • Enum Constant Details

  • Method Details

    • values

      public static CodeAttrProcessor[] 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 CodeAttrProcessor 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
    • getOpeningCharacter

      public char getOpeningCharacter()
      Specified by:
      getOpeningCharacter in interface org.commonmark.parser.delimiter.DelimiterProcessor
    • getClosingCharacter

      public char getClosingCharacter()
      Specified by:
      getClosingCharacter in interface org.commonmark.parser.delimiter.DelimiterProcessor
    • getMinLength

      public int getMinLength()
      Specified by:
      getMinLength in interface org.commonmark.parser.delimiter.DelimiterProcessor
    • process

      public int process(org.commonmark.parser.delimiter.DelimiterRun openingRun, org.commonmark.parser.delimiter.DelimiterRun closingRun)
      Specified by:
      process in interface org.commonmark.parser.delimiter.DelimiterProcessor