com.sun.msv.reader

Interface GrammarReaderController

All Superinterfaces:
EntityResolver
Known Implementing Classes:
Controller, DebugController, IgnoreController

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

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

Method Details

error

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

warning

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