jmri.jmrix.rfid.serialdriver.configurexml
Class ConnectionConfigXml
java.lang.Object
jmri.configurexml.AbstractXmlAdapter
jmri.jmrix.configurexml.AbstractConnectionConfigXml
jmri.jmrix.configurexml.AbstractSerialConnectionConfigXml
jmri.jmrix.rfid.serialdriver.configurexml.ConnectionConfigXml
- All Implemented Interfaces:
- XmlAdapter
public class ConnectionConfigXml
- extends AbstractSerialConnectionConfigXml
Handle XML persistence of layout connections by persisting
the SerialDriverAdapter (and connections). Note this is
named as the XML version of a ConnectionConfig object,
but it's actually persisting the SerialDriverAdapter.
This class is invoked from jmrix.JmrixConfigPaneXml on write,
as that class is the one actually registered. Reads are brought
here directly via the class attribute in the XML.
- Since:
- 2.11.4
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionConfigXml
public ConnectionConfigXml()
makeParameter
protected org.jdom.Element makeParameter(String name,
String value)
getInstance
protected void getInstance()
- Specified by:
getInstance in class AbstractSerialConnectionConfigXml
getInstance
protected void getInstance(Object object)
- Overrides:
getInstance in class AbstractSerialConnectionConfigXml
findParmValue
String findParmValue(org.jdom.Element e,
String name)
- Service routine to look through "parameter" child elements
to find a particular parameter value
- Parameters:
e - Element containing parametersname - name of desired parameter
- Returns:
- String value
register
protected void register()
- Specified by:
register in class AbstractSerialConnectionConfigXml
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: