Class AbstractManagerXml
- java.lang.Object
-
- jmri.configurexml.AbstractXmlAdapter
-
- jmri.managers.configurexml.AbstractNamedBeanManagerConfigXML
-
- jmri.jmrit.logixng.implementation.configurexml.AbstractManagerXml
-
- All Implemented Interfaces:
XmlAdapter
- Direct Known Subclasses:
DefaultAnalogActionManagerXml
,DefaultAnalogExpressionManagerXml
,DefaultDigitalActionManagerXml
,DefaultDigitalBooleanActionManagerXml
,DefaultDigitalExpressionManagerXml
,DefaultGlobalVariableManagerXml
,DefaultModuleManagerXml
,DefaultNamedTableManagerXml
,DefaultStringActionManagerXml
,DefaultStringExpressionManagerXml
public abstract class AbstractManagerXml extends AbstractNamedBeanManagerConfigXML
Provides the functionality for configuring ActionManagers
-
-
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>>
-
-
Constructor Summary
Constructors Constructor Description AbstractManagerXml()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
loadMaleSocket(org.jdom2.Element element, MaleSocket maleSocket)
Utility method to load the individual DigitalActionBean objects.org.jdom2.Element
storeMaleSocket(MaleSocket maleSocket)
Store data for a MaleSocket-
Methods inherited from class jmri.managers.configurexml.AbstractNamedBeanManagerConfigXML
checkedNamedBeanHandle, checkedNamedBeanName, checkedNamedBeanReference, getSystemName, getUserName, getUserName, loadCommon, storeCommon
-
Methods inherited from class jmri.configurexml.AbstractXmlAdapter
getAttributeBooleanValue, getAttributeDoubleValue, getAttributeFloatValue, getAttributeIntegerValue, getExceptionHandler, handleException, load, load, load, load, loadDeferred, loadOrder, setExceptionHandler, store
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jmri.configurexml.XmlAdapter
store
-
-
-
-
Constructor Detail
-
AbstractManagerXml
public AbstractManagerXml()
-
-
Method Detail
-
storeMaleSocket
public org.jdom2.Element storeMaleSocket(MaleSocket maleSocket)
Store data for a MaleSocket- Parameters:
maleSocket
- the socket to store- Returns:
- Element containing the complete info
-
loadMaleSocket
public void loadMaleSocket(org.jdom2.Element element, MaleSocket maleSocket)
Utility method to load the individual DigitalActionBean objects. If there's no additional info needed for a specific action type, invoke this with the parent of the set of DigitalActionBean elements.- Parameters:
element
- Element containing the MaleSocket element to load.maleSocket
- the socket to load
-
-