jmri.configurexml.turnoutoperations
Class CommonTurnoutOperationXml
java.lang.Object
jmri.configurexml.AbstractXmlAdapter
jmri.configurexml.turnoutoperations.TurnoutOperationXml
jmri.configurexml.turnoutoperations.CommonTurnoutOperationXml
- All Implemented Interfaces:
- XmlAdapter
- Direct Known Subclasses:
- NoFeedbackTurnoutOperationXml, RawTurnoutOperationXml, SensorTurnoutOperationXml
public abstract class CommonTurnoutOperationXml
- extends TurnoutOperationXml
Concrete subclass to save/restore NoFeedbackTurnoutOperation object
to/from XML.
- Author:
- John Harper Copyright 2005
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommonTurnoutOperationXml
public CommonTurnoutOperationXml()
store
public Element store(Object op)
- Description copied from class:
TurnoutOperationXml
- common part of store - create the element and store the name and the class
- Specified by:
store in interface XmlAdapter- Overrides:
store in class TurnoutOperationXml
- Parameters:
op - TurnoutOperation object
- Returns:
- partially filled element
loadOne
public TurnoutOperation loadOne(Element e,
Constructor<?> constr,
int di,
int dmt)
- called for a newly-constructed object to load it from an XML element
- Parameters:
e - the XML element of type "turnoutOperation"
Copyright © 1997 - 2011 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: