Class Z21SimulatorConnectionConfigXml
- java.lang.Object
-
- jmri.configurexml.AbstractXmlAdapter
-
- jmri.jmrix.configurexml.AbstractConnectionConfigXml
-
- jmri.jmrix.configurexml.AbstractNetworkConnectionConfigXml
-
- jmri.jmrix.roco.z21.configurexml.ConnectionConfigXml
-
- jmri.jmrix.roco.z21.simulator.configurexml.Z21SimulatorConnectionConfigXml
-
- All Implemented Interfaces:
XmlAdapter
public class Z21SimulatorConnectionConfigXml extends ConnectionConfigXml
Handle XML persistence of layout connections by persisting the Z21SimulatorAdapter (and connections).Note this is named as the XML version of a Z21SimulatorConnectionConfig object, but it's actually persisting the Z21SimulatorAdapter.
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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jmri.configurexml.AbstractXmlAdapter
AbstractXmlAdapter.EnumIO<T extends java.lang.Enum<T>>, AbstractXmlAdapter.EnumIoMapped<T extends java.lang.Enum<T>>, AbstractXmlAdapter.EnumIoNames<T extends java.lang.Enum<T>>, AbstractXmlAdapter.EnumIoNamesNumbers<T extends java.lang.Enum<T>>, AbstractXmlAdapter.EnumIoOrdinals<T extends java.lang.Enum<T>>
-
-
Field Summary
-
Fields inherited from class jmri.jmrix.configurexml.AbstractNetworkConnectionConfigXml
adapter
-
-
Constructor Summary
Constructors Constructor Description Z21SimulatorConnectionConfigXml()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
getInstance()
protected void
getInstance(java.lang.Object object)
protected void
register()
-
Methods inherited from class jmri.jmrix.configurexml.AbstractNetworkConnectionConfigXml
dispose, extendElement, load, load, store
-
Methods inherited from class jmri.jmrix.configurexml.AbstractConnectionConfigXml
findParmValue, loadCommon, loadOptions, register, saveOptions, setOutputInterval, store, storeCommon, unpackElement
-
Methods inherited from class jmri.configurexml.AbstractXmlAdapter
getAttributeBooleanValue, getAttributeDoubleValue, getAttributeFloatValue, getAttributeIntegerValue, getExceptionHandler, handleException, load, load, loadDeferred, loadOrder, setExceptionHandler
-
-
-
-
Constructor Detail
-
Z21SimulatorConnectionConfigXml
public Z21SimulatorConnectionConfigXml()
-
-
Method Detail
-
getInstance
protected void getInstance()
- Overrides:
getInstance
in classConnectionConfigXml
-
getInstance
protected void getInstance(java.lang.Object object)
- Overrides:
getInstance
in classConnectionConfigXml
-
register
protected void register()
- Overrides:
register
in classConnectionConfigXml
-
-