Package jmri.jmrix.anyma.configurexml
Class AnymaDMX_ConnectionConfigXml
- java.lang.Object
-
- jmri.configurexml.AbstractXmlAdapter
-
- jmri.jmrix.configurexml.AbstractConnectionConfigXml
-
- jmri.jmrix.configurexml.AbstractUsbConnectionConfigXml
-
- jmri.jmrix.anyma.configurexml.AnymaDMX_ConnectionConfigXml
-
- All Implemented Interfaces:
XmlAdapter
public class AnymaDMX_ConnectionConfigXml extends AbstractUsbConnectionConfigXml
Handle XML persistence of layout connections by persisting the AnymaDMX_UsbPortAdapter. Note this is named as the XML version of a AnymaDMX_ConnectionConfig object, but it's actually persisting the AnymaDMX_UsbPortAdapter.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:
- 4.9.6
-
-
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.AbstractUsbConnectionConfigXml
adapter
-
-
Constructor Summary
Constructors Constructor Description AnymaDMX_ConnectionConfigXml()
constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
getInstance()
get instanceprotected void
getInstance(java.lang.Object object)
get instanceprotected void
register()
register-
Methods inherited from class jmri.jmrix.configurexml.AbstractUsbConnectionConfigXml
dispose, extendElement, getAdapter, load, load, setAdapter, 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
-
AnymaDMX_ConnectionConfigXml
public AnymaDMX_ConnectionConfigXml()
constructor
-
-
Method Detail
-
getInstance
protected void getInstance()
get instance- Specified by:
getInstance
in classAbstractConnectionConfigXml
-
getInstance
protected void getInstance(java.lang.Object object)
get instance- Specified by:
getInstance
in classAbstractUsbConnectionConfigXml
- Parameters:
object
- to get the instance of
-
register
protected void register()
register- Specified by:
register
in classAbstractConnectionConfigXml
-
-