com.sun.msv.reader.util
Class GrammarReaderControllerAdaptor

java.lang.Object
  |
  +--com.sun.msv.reader.util.GrammarReaderControllerAdaptor
All Implemented Interfaces:
ErrorHandler

public class GrammarReaderControllerAdaptor
extends Object
implements ErrorHandler

wraps GrammarReaderController by SAX ErrorHandler interface.

Author:
Kohsuke KAWAGUCHI

Constructor Summary
GrammarReaderControllerAdaptor(GrammarReaderController core)
           
 
Method Summary
 void error(SAXParseException spe)
           
 void fatalError(SAXParseException spe)
           
 void warning(SAXParseException spe)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrammarReaderControllerAdaptor

public GrammarReaderControllerAdaptor(GrammarReaderController core)
Method Detail

fatalError

public void fatalError(SAXParseException spe)
                throws SAXException
Specified by:
fatalError in interface ErrorHandler

error

public void error(SAXParseException spe)
           throws SAXException
Specified by:
error in interface ErrorHandler

warning

public void warning(SAXParseException spe)
Specified by:
warning in interface ErrorHandler