apps.configurexml
Class PerformFileModelXml
java.lang.Object
jmri.configurexml.AbstractXmlAdapter
apps.configurexml.PerformFileModelXml
- All Implemented Interfaces:
- XmlAdapter
public class PerformFileModelXml
- extends AbstractXmlAdapter
Handle XML persistance of PerformFileModel objects
- See Also:
PerformFilePanel
|
Field Summary |
(package private) static org.slf4j.Logger |
log
|
|
Method Summary |
boolean |
load(org.jdom.Element e)
Create object from XML file |
void |
load(org.jdom.Element element,
Object o)
Update static data from XML file |
boolean |
loadDeferred()
Object should be loaded after basic GUI constructed |
org.jdom.Element |
store(Object o)
Default implementation for storing the model contents |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
static org.slf4j.Logger log
PerformFileModelXml
public PerformFileModelXml()
store
public org.jdom.Element store(Object o)
- Default implementation for storing the model contents
- Parameters:
o - Object to store, of type PerformActonModel
- Returns:
- Element containing the complete info
loadDeferred
public boolean loadDeferred()
- Object should be loaded after basic GUI constructed
- Specified by:
loadDeferred in interface XmlAdapter- Overrides:
loadDeferred in class AbstractXmlAdapter
- Returns:
- true to defer loading
- See Also:
AbstractXmlAdapter.loadDeferred(),
XmlAdapter.loadDeferred()
load
public boolean load(org.jdom.Element e)
throws JmriException
- Create object from XML file
- Parameters:
e - Top level Element to unpack.
- Returns:
- true if successful
- Throws:
JmriException
load
public void load(org.jdom.Element element,
Object o)
- Update static data from XML file
- Parameters:
element - Top level Element to unpack.o - ignored
Copyright © 1997-2013 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: