Interface XmlRegexp.ErrorFunc

Enclosing class:
XmlRegexp

public static interface XmlRegexp.ErrorFunc
Receives each compile error (XmlRegexpErrorFunc), message is the libxml2 error message ("failed to compile: ...\n"), regexp the expression (null for automata) and index the byte offset in it where the error was found.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    error(Object data, String message, String regexp, int index)
    Called for each compile error.
  • Method Details

    • error

      void error(Object data, String message, String regexp, int index)
      Called for each compile error.
      Parameters:
      data - the error data
      message - the message
      regexp - the regexp or null
      index - the byte offset of the error