org.w3c.rdf.util.xml
Class ErrorStore
java.lang.Object
|
+--org.w3c.rdf.util.xml.ErrorStore
- public class ErrorStore
- extends java.lang.Object
- implements org.xml.sax.ErrorHandler
An implementation of the ErrorHandler
|
Method Summary |
void |
error(org.xml.sax.SAXParseException exception)
Report all recoverable errors, and try to continue parsing. |
java.lang.String |
errors()
|
void |
fatalError(org.xml.sax.SAXParseException exception)
Report all fatal errors, and try to continue parsing. |
int |
getColumnNumber()
|
java.lang.String |
getErrorMessage()
|
int |
getLineNumber()
|
void |
warning(org.xml.sax.SAXParseException exception)
Report all warnings, and continue parsing. |
java.lang.String |
warnings()
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ErrorStore
public ErrorStore()
warning
public void warning(org.xml.sax.SAXParseException exception)
- Report all warnings, and continue parsing.
- Specified by:
- warning in interface org.xml.sax.ErrorHandler
- See Also:
ErrorHandler.warning(org.xml.sax.SAXParseException)
error
public void error(org.xml.sax.SAXParseException exception)
- Report all recoverable errors, and try to continue parsing.
- Specified by:
- error in interface org.xml.sax.ErrorHandler
- See Also:
ErrorHandler.error(org.xml.sax.SAXParseException)
fatalError
public void fatalError(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXException
- Report all fatal errors, and try to continue parsing.
Note: results are no longer reliable once a fatal error has
been reported.
- Specified by:
- fatalError in interface org.xml.sax.ErrorHandler
- See Also:
ErrorHandler.fatalError(org.xml.sax.SAXParseException)
errors
public java.lang.String errors()
warnings
public java.lang.String warnings()
getLineNumber
public int getLineNumber()
getColumnNumber
public int getColumnNumber()
getErrorMessage
public java.lang.String getErrorMessage()