Package apps.jmrit

Class XmlFileValidateRunner

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

    public class XmlFileValidateRunner
    extends XmlFileValidateAction
    Make sure an XML file is readable, and validates OK against its schema and DTD.

    Intended to be run from the command line with e.g. ./runtest.csh jmri/jmrit/XmlFileValidateRunner foo.xml in which case if there's a filename argument, it checks that directly, otherwise it pops a file selection dialog. (The dialog form has to be manually canceled when done)

    See Also:
    XmlFile, XmlFileCheckAction, Serialized Form