com.sun.msv.reader
Class Controller
- EntityResolver, ErrorHandler, GrammarReaderController
Internal view of GrammarReaderController.
This class wraps a GrammarReaderController and
adds several convenient methods for the caller.
void | error(IOException e, Locator source)
|
void | error(Locator[] locs, String errorMessage, Exception nestedException)
|
void | error(ParserConfigurationException e, Locator source)
|
void | error(SAXException e, Locator source)
|
void | error(SAXParseException spe)
|
void | error(String errorMessage, Exception nestedException)
|
void | fatalError(SAXParseException spe)
|
GrammarReaderController | getCore()
|
boolean | hadError() - Returns true if an error had been reported.
|
InputSource | resolveEntity(String p, String s)
|
void | setErrorFlag() - Force set the error flag to true.
|
void | warning(Locator[] locs, String errorMessage)
|
void | warning(SAXParseException spe)
|
error
public void error(IOException e,
Locator source)
error
public void error(ParserConfigurationException e,
Locator source)
error
public void error(SAXException e,
Locator source)
error
public void error(SAXParseException spe)
error
public void error(String errorMessage,
Exception nestedException)
fatalError
public void fatalError(SAXParseException spe)
hadError
public boolean hadError()
Returns true if an error had been reported.
resolveEntity
public InputSource resolveEntity(String p,
String s)
throws SAXException,
IOException
setErrorFlag
public final void setErrorFlag()
Force set the error flag to true.
warning
public void warning(SAXParseException spe)