public class Controller extends Object implements GrammarReaderController2, ErrorHandler
| Constructor and Description |
|---|
Controller(GrammarReaderController _core) |
| Modifier and Type | Method and Description |
|---|---|
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() |
protected Locator[] |
getLocator(SAXParseException spe) |
LSResourceResolver |
getLSResourceResolver()
Return the full resolver.
|
boolean |
hadError()
Returns true if an error had been reported.
|
InputSource |
resolveEntity(String publicId,
String systemId)
Deprecated.
|
void |
setErrorFlag()
Force set the error flag to true.
|
void |
warning(Locator[] locs,
String errorMessage) |
void |
warning(SAXParseException spe) |
public Controller(GrammarReaderController _core)
public GrammarReaderController getCore()
public boolean hadError()
public final void setErrorFlag()
@Deprecated public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
resolveEntity in interface EntityResolverSAXExceptionIOExceptionpublic void warning(Locator[] locs, String errorMessage)
warning in interface GrammarReaderControllerpublic void error(Locator[] locs, String errorMessage, Exception nestedException)
error in interface GrammarReaderControllerpublic void fatalError(SAXParseException spe)
fatalError in interface ErrorHandlerpublic void error(SAXParseException spe)
error in interface ErrorHandlerpublic void warning(SAXParseException spe)
warning in interface ErrorHandlerpublic void error(IOException e, Locator source)
public void error(SAXException e, Locator source)
public void error(ParserConfigurationException e, Locator source)
protected Locator[] getLocator(SAXParseException spe)
public LSResourceResolver getLSResourceResolver()
getLSResourceResolver in interface GrammarReaderController2Copyright © 2016 Oracle Corporation. All Rights Reserved.