com.sun.msv.reader.util
Class IgnoreController

java.lang.Object
  |
  +--com.sun.msv.reader.util.IgnoreController
All Implemented Interfaces:
EntityResolver, GrammarReaderController

public class IgnoreController
extends Object
implements GrammarReaderController

Default implementation of GrammarReaderController. This class ignores every errors and warnings.

Author:
Kohsuke KAWAGUCHI

Constructor Summary
IgnoreController()
           
 
Method Summary
 void error(Locator[] locs, String errorMessage, Exception nestedException)
           
 InputSource resolveEntity(String p, String s)
           
 void warning(Locator[] locs, String errorMessage)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IgnoreController

public IgnoreController()
Method Detail

warning

public void warning(Locator[] locs,
                    String errorMessage)
Specified by:
warning in interface GrammarReaderController

error

public void error(Locator[] locs,
                  String errorMessage,
                  Exception nestedException)
Specified by:
error in interface GrammarReaderController

resolveEntity

public InputSource resolveEntity(String p,
                                 String s)
Specified by:
resolveEntity in interface EntityResolver