com.sun.msv.reader
Interface GrammarReaderController

All Superinterfaces:
EntityResolver
All Known Implementing Classes:
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)
           
 
Methods inherited from interface org.xml.sax.EntityResolver
resolveEntity
 

Method Detail

warning

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

error

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