|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.xml.sax.helpers.DefaultHandler | +--org.objectweb.jorm.xml2mi.lib.ParserErrorHandler
The ParserErrorHandler object extends the DefaultHandler from sax. This object is given to the DOM parser to handle potential errors.
Constructor Summary | |
ParserErrorHandler()
Builds a new ParserErrorHandler for the DOM parser. |
Method Summary | |
void |
error(org.xml.sax.SAXParseException e)
Adds a new exception to the current vector of exceptions. |
java.util.Vector |
getErrors()
Returns the vector of errors. |
void |
initialize()
Resets the vector of errors. |
int |
numErrors()
Allows to know the number of handled errors. |
void |
warning(org.xml.sax.SAXParseException e)
Adds a new exception to the current vector of exceptions. |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endElement, endPrefixMapping, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ParserErrorHandler()
Method Detail |
public int numErrors()
public java.util.Vector getErrors()
public void initialize()
public void warning(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
warning
in interface org.xml.sax.ErrorHandler
warning
in class org.xml.sax.helpers.DefaultHandler
e
- a new SAXParseException to register
org.xml.sax.SAXException
public void error(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
error
in interface org.xml.sax.ErrorHandler
error
in class org.xml.sax.helpers.DefaultHandler
e
- a new SAXParseException to register
org.xml.sax.SAXException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |