|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.activemath.fileBased.XMLValidate
public class XMLValidate
A simple XML validation tool based on the validation capability of a parser.
Parts of this class is based on Xerces samples' SAX2Writer.
| Constructor Summary | |
|---|---|
XMLValidate(String parserName,
String inSource)
|
|
| Method Summary | |
|---|---|
void |
error(SAXParseException ex)
Error. |
void |
fatalError(SAXParseException ex)
Fatal error. |
static void |
main(String[] args)
|
static void |
printHelp()
|
void |
warning(SAXParseException ex)
Warning. |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
|---|
characters, endDocument, endElement, endPrefixMapping, 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 XMLValidate(String parserName,
String inSource)
throws Exception
Exception| Method Detail |
|---|
public static void main(String[] args)
public static void printHelp()
public void warning(SAXParseException ex)
warning in interface ErrorHandlerwarning in class DefaultHandler
public void error(SAXParseException ex)
throws SAXException
error in interface ErrorHandlererror in class DefaultHandlerSAXException
public void fatalError(SAXParseException ex)
throws SAXException
fatalError in interface ErrorHandlerfatalError in class DefaultHandlerSAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||