|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectautohit.creator.compiler.XmlParseErrorHandler
Parse Error Handler. It will just collect the errors in a list for use later. WARNING!!! An instance of this must be registered with the parser before EACH compile.
EPG - Initial - 10Apr03
Field Summary | |
XmlCompiler |
xc
Keep a reference to the Xml compiler, so we can get to the logging funktions. |
Constructor Summary | |
XmlParseErrorHandler()
Default constructor. |
|
XmlParseErrorHandler(XmlCompiler xcp)
Constructor. |
Method Summary | |
void |
emitDebug(java.lang.String text)
Add an warning to the error log. |
void |
emitError(java.lang.String text)
Add an error to the error log. |
void |
emitWarning(java.lang.String text)
Add an debug notice to the error log. |
void |
error(org.xml.sax.SAXParseException e)
Receive an error from the compiler. |
void |
fatalError(org.xml.sax.SAXParseException e)
Receive a fatal error from the compiler. |
void |
warning(org.xml.sax.SAXParseException e)
Receive a warning from the compiler. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public XmlCompiler xc
Constructor Detail |
public XmlParseErrorHandler(XmlCompiler xcp) throws java.lang.Exception
xcp
- A valid XmlCompilerXmlCompiler
public XmlParseErrorHandler() throws java.lang.Exception
Method Detail |
public void emitError(java.lang.String text)
public void emitWarning(java.lang.String text)
public void emitDebug(java.lang.String text)
public void error(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
error
in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException
- Send back to document builderpublic void fatalError(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
fatalError
in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException
- Send back to document builderpublic void warning(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
warning
in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException
- Send back to document builder
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |