|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.msv.reader.Controller
public class Controller
Internal view of GrammarReaderController. This class wraps a GrammarReaderController and adds several convenient methods for the caller.
Constructor Summary | |
---|---|
Controller(GrammarReaderController _core)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Controller(GrammarReaderController _core)
Method Detail |
---|
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 error(String errorMessage, Exception nestedException)
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |