|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.llnl.babel.xml.XMLTest
public class XMLTest
Class XMLTest
is a simple unit test for the XML utilities
class. It may be called in two ways. If called with only one argument
representing an XML document URI, then that XML document is parsed and
echoed back to standard output. The main routine may also be called with
three arguments: a DTD URI, a start element name for the XML document,
and the URI of the XML document. This test code will parse the document,
validate it against the DTD, and then output it to the standard output.
Constructor Summary | |
---|---|
XMLTest()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] argv)
Method main is the entry point for the unit test. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLTest()
Method Detail |
---|
public static void main(java.lang.String[] argv)
main
is the entry point for the unit test.
See the class documentation for calling arguments.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |