Package apps.jmrit
Class XmlFileValidateRunner
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.util.swing.JmriAbstractAction
-
- jmri.jmrit.XmlFileValidateAction
-
- apps.jmrit.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
-
-
Field Summary
-
Fields inherited from class jmri.util.swing.JmriAbstractAction
context, hint, wi
-
-
Constructor Summary
Constructors Constructor Description XmlFileValidateRunner()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)-
Methods inherited from class jmri.jmrit.XmlFileValidateAction
actionPerformed, makePanel, processFile, showFailResults, showOkResults
-
Methods inherited from class jmri.util.swing.JmriAbstractAction
dispose, setContext, setHint, setName, setParameter, setParameter, setWindowInterface, toString
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
XmlFileValidateRunner
XmlFileValidateRunner()
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
-
-