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
FieldsModifier and TypeFieldDescriptionentity resolution is delegated to this object.protected PrintStreammessages are sent to this object. -
Constructor Summary
ConstructorsConstructorDescriptionDebugController(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:
warningin interfaceGrammarReaderController
-
error
- Specified by:
errorin interfaceGrammarReaderController
-
resolveEntity
- Specified by:
resolveEntityin interfaceEntityResolver- Throws:
IOExceptionSAXException
-