|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.xml.sax.helpers.DefaultHandler | +--jcs.xml.ErrorHandler
A class to catch errors from the XML parser.
Constructor Summary | |
ErrorHandler()
|
Method Summary | |
void |
error(org.xml.sax.SAXParseException e)
Treats validation errors as fatal. |
void |
warning(org.xml.sax.SAXParseException e)
Dumps warnings too. |
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 ErrorHandler()
Method Detail |
public void error(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXParseException
This method is a placeholder, and may be replaced by some other treatment of parse errors arising in the server.
e
- a SAXParseException thrown by the XML parserpublic void warning(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXParseException
This method is a placeholder, and may be replaced by some other treatment of parse errors arising in the server.
e
- a SAXParseException thrown by the XML parser
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |