com.sun.msv.reader

Interface GrammarReaderController

public interface GrammarReaderController extends EntityResolver

Event notification interface for controlling grammar parsing process.
  1. receives notification of errors and warnings while parsing a grammar
  2. controls how inclusion of other grammars are processed (through EntityResolver.

Author: Kohsuke KAWAGUCHI

Method Summary
voiderror(Locator[] locs, String errorMessage, Exception nestedException)
voidwarning(Locator[] locs, String errorMessage)

Method Detail

error

public void error(Locator[] locs, String errorMessage, Exception nestedException)

warning

public void warning(Locator[] locs, String errorMessage)