Package com.sun.msv.driver.textui
Class DebugController
java.lang.Object
com.sun.msv.driver.textui.DebugController
- All Implemented Interfaces:
GrammarReaderController
,EntityResolver
GrammarReaderController that prints all errors and warnings.
- Author:
- Kohsuke KAWAGUCHI
-
Field Summary
Modifier and TypeFieldDescriptionentity resolution is delegated to this object.protected PrintStream
messages are sent to this object. -
Constructor Summary
ConstructorDescriptionDebugController
(boolean displayWarning) DebugController
(boolean displayWarning, boolean quiet) DebugController
(boolean displayWarning, boolean quiet, PrintStream outDevice) DebugController
(boolean displayWarning, boolean quiet, PrintStream outDevice, EntityResolver externalEntityResolver) DebugController
(boolean displayWarning, boolean quiet, EntityResolver externalEntityResolver) -
Method Summary
-
Field Details
-
externalEntityResolver
entity resolution is delegated to this object. can be null. -
out
messages are sent to this object.
-
-
Constructor Details
-
DebugController
public DebugController(boolean displayWarning) -
DebugController
public DebugController(boolean displayWarning, boolean quiet) -
DebugController
public DebugController(boolean displayWarning, boolean quiet, EntityResolver externalEntityResolver) -
DebugController
-
DebugController
public DebugController(boolean displayWarning, boolean quiet, PrintStream outDevice, EntityResolver externalEntityResolver)
-
-
Method Details
-
warning
- Specified by:
warning
in interfaceGrammarReaderController
-
error
- Specified by:
error
in interfaceGrammarReaderController
-
resolveEntity
- Specified by:
resolveEntity
in interfaceEntityResolver
- Throws:
IOException
SAXException
-