com.sun.msv.reader
Interface GrammarReaderController

All Superinterfaces:
org.xml.sax.EntityResolver
All Known Implementing Classes:
Controller, DebugController, IgnoreController

public interface GrammarReaderController
extends org.xml.sax.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(org.xml.sax.Locator[] locs, java.lang.String errorMessage, java.lang.Exception nestedException)
           
 void warning(org.xml.sax.Locator[] locs, java.lang.String errorMessage)
           
 
Methods inherited from interface org.xml.sax.EntityResolver
resolveEntity
 

Method Detail

error

public void error(org.xml.sax.Locator[] locs,
                  java.lang.String errorMessage,
                  java.lang.Exception nestedException)

warning

public void warning(org.xml.sax.Locator[] locs,
                    java.lang.String errorMessage)


Copyright © 2001-2003 Sun Microsystems, Inc. Documenation generated April 26 2005.