apps.configurexml
Class CreateButtonPanelXml
java.lang.Object
jmri.configurexml.AbstractXmlAdapter
apps.configurexml.CreateButtonPanelXml
- All Implemented Interfaces:
- XmlAdapter
public class CreateButtonPanelXml
- extends AbstractXmlAdapter
Handle XML persistance of CreateButtonPanel objects.
- See Also:
CreateButtonPanel
|
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 |
org.jdom.Element |
store(Object o)
Arrange for all the model objects to be stored |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
static org.slf4j.Logger log
CreateButtonPanelXml
public CreateButtonPanelXml()
store
public org.jdom.Element store(Object o)
- Arrange for all the model objects to be stored
- Parameters:
o - Object to store, of type CreateButtonPanel
- Returns:
- null, after updating state so others are stored
load
public boolean load(org.jdom.Element e)
- Create object from XML file
- Parameters:
e - Top level Element to unpack.
- Returns:
- true if successful
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: