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 EntityResolver
SAXException
IOException
public void warning(Locator[] locs, String errorMessage)
warning
in interface GrammarReaderController
public void error(Locator[] locs, String errorMessage, Exception nestedException)
error
in interface GrammarReaderController
public void fatalError(SAXParseException spe)
fatalError
in interface ErrorHandler
public void error(SAXParseException spe)
error
in interface ErrorHandler
public void warning(SAXParseException spe)
warning
in interface ErrorHandler
public 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 GrammarReaderController2
Copyright © 2016 Oracle Corporation. All rights reserved.