com.sun.msv.driver.textui

Class DebugController

public class DebugController extends Object implements GrammarReaderController

GrammarReaderController that prints all errors and warnings.

Author: Kohsuke KAWAGUCHI

Field Summary
EntityResolverexternalEntityResolver
entity resolution is delegated to this object. can be null.
Constructor Summary
DebugController(boolean displayWarning)
DebugController(boolean displayWarning, boolean quiet)
DebugController(boolean displayWarning, boolean quiet, EntityResolver externalEntityResolver)
DebugController(boolean displayWarning, boolean quiet, PrintStream outDevice)
DebugController(boolean displayWarning, boolean quiet, PrintStream outDevice, EntityResolver externalEntityResolver)
Method Summary
voiderror(Locator[] loc, String errorMessage, Exception nestedException)
InputSourceresolveEntity(String publicId, String systemId)
voidwarning(Locator[] loc, String errorMessage)

Field Detail

externalEntityResolver

public EntityResolver externalEntityResolver
entity resolution is delegated to this object. can be null.

Constructor Detail

DebugController

public DebugController(boolean displayWarning)

DebugController

public DebugController(boolean displayWarning, boolean quiet)

DebugController

public DebugController(boolean displayWarning, boolean quiet, EntityResolver externalEntityResolver)

DebugController

public DebugController(boolean displayWarning, boolean quiet, PrintStream outDevice)

DebugController

public DebugController(boolean displayWarning, boolean quiet, PrintStream outDevice, EntityResolver externalEntityResolver)

Method Detail

error

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

resolveEntity

public InputSource resolveEntity(String publicId, String systemId)

warning

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