com.sun.msv.reader.util

Class IgnoreController

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

Method Summary

void
error(Locator[] locs, String errorMessage, Exception nestedException)
InputSource
resolveEntity(String p, String s)
void
warning(Locator[] locs, String errorMessage)

Method Details

error

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

resolveEntity

public InputSource resolveEntity(String p,
                                 String s)

warning

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