GrammarReaderController
, EntityResolver
public class DebugController extends Object implements GrammarReaderController
Modifier and Type | Field | Description |
---|---|---|
EntityResolver |
externalEntityResolver |
entity resolution is delegated to this object.
|
protected PrintStream |
out |
messages are sent to this object.
|
Constructor | Description |
---|---|
DebugController(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) |
Modifier and Type | Method | Description |
---|---|---|
void |
error(Locator[] loc,
String errorMessage,
Exception nestedException) |
|
InputSource |
resolveEntity(String publicId,
String systemId) |
|
void |
warning(Locator[] loc,
String errorMessage) |
public EntityResolver externalEntityResolver
protected PrintStream out
public DebugController(boolean displayWarning)
public DebugController(boolean displayWarning, boolean quiet)
public DebugController(boolean displayWarning, boolean quiet, EntityResolver externalEntityResolver)
public DebugController(boolean displayWarning, boolean quiet, PrintStream outDevice)
public DebugController(boolean displayWarning, boolean quiet, PrintStream outDevice, EntityResolver externalEntityResolver)
public void warning(Locator[] loc, String errorMessage)
warning
in interface GrammarReaderController
public void error(Locator[] loc, String errorMessage, Exception nestedException)
error
in interface GrammarReaderController
public InputSource resolveEntity(String publicId, String systemId) throws IOException, SAXException
resolveEntity
in interface EntityResolver
IOException
SAXException
Copyright © 2019 Oracle Corporation. All rights reserved.