com.sun.msv.driver.textui
Class DebugController
java.lang.Object
|
+--com.sun.msv.driver.textui.DebugController
- All Implemented Interfaces:
- EntityResolver, GrammarReaderController
- public class DebugController
- extends Object
- implements GrammarReaderController
GrammarReaderController that prints all errors and warnings.
- Author:
- Kohsuke KAWAGUCHI
externalEntityResolver
public EntityResolver externalEntityResolver
- entity resolution is delegated to this object. can be null.
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)
warning
public void warning(Locator[] loc,
String errorMessage)
- Specified by:
warning
in interface GrammarReaderController
error
public void error(Locator[] loc,
String errorMessage,
Exception nestedException)
- Specified by:
error
in interface GrammarReaderController
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
throws IOException,
SAXException
- Specified by:
resolveEntity
in interface EntityResolver