Package apps.jmrit
Class XmlFileValidateRunner
java.lang.Object
javax.swing.AbstractAction
jmri.util.swing.JmriAbstractAction
jmri.jmrit.XmlFileValidateAction
apps.jmrit.XmlFileValidateRunner
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
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:
-
Field Summary
Fields inherited from class jmri.util.swing.JmriAbstractAction
context, hint, wiFields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jmri.jmrit.XmlFileValidateAction
actionPerformed, makePanel, processFile, showFailResults, showOkResultsMethods inherited from class jmri.util.swing.JmriAbstractAction
dispose, setContext, setHint, setName, setParameter, setParameter, setWindowInterface, toStringMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
XmlFileValidateRunner
-
-
Method Details
-
main
-