Package jmri.managers.configurexml
Class DefaultVariableLightManagerXml
- java.lang.Object
- 
- jmri.configurexml.AbstractXmlAdapter
- 
- jmri.managers.configurexml.AbstractNamedBeanManagerConfigXML
- 
- jmri.managers.configurexml.DefaultVariableLightManagerXml
 
 
 
- 
- All Implemented Interfaces:
- XmlAdapter
 
 public class DefaultVariableLightManagerXml extends AbstractNamedBeanManagerConfigXML Store and load data for VariableLightManager. This class doesn't do anything since all the VariableLights are stored in the LightManager. /Daniel Bergqvist
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class jmri.configurexml.AbstractXmlAdapterAbstractXmlAdapter.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.managers.configurexml.AbstractNamedBeanManagerConfigXMLSTR_CLASS, STR_COMMENT, STR_KEY, STR_PROPERTIES, STR_PROPERTY, STR_SYSTEM_NAME, STR_USER_NAME, STR_VALUE
 - 
Fields inherited from class jmri.configurexml.AbstractXmlAdapterSTR_FALSE, STR_NO, STR_TRUE, STR_YES
 
- 
 - 
Constructor SummaryConstructors Constructor Description DefaultVariableLightManagerXml()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanload(org.jdom2.Element sharedConditionals, org.jdom2.Element perNodeConditionals)Create a set of configured objects from their XML description.intloadOrder()org.jdom2.Elementstore(java.lang.Object o)Store the object in XML- 
Methods inherited from class jmri.managers.configurexml.AbstractNamedBeanManagerConfigXMLcheckedNamedBeanHandle, checkedNamedBeanName, checkedNamedBeanReference, checkNameNormalization, getAttributeBool, getAttributeString, getSystemName, getUserName, getUserName, loadComment, loadComment, loadCommon, loadInAdapter, loadProperties, storeComment, storeCommon, storeProperties, storeUserName
 - 
Methods inherited from class jmri.configurexml.AbstractXmlAdaptergetAttributeBooleanValue, getAttributeDoubleValue, getAttributeFloatValue, getAttributeIntegerValue, getExceptionHandler, handleException, load, load, load, loadDeferred, setExceptionHandler, store
 
- 
 
- 
- 
- 
Constructor Detail- 
DefaultVariableLightManagerXmlpublic DefaultVariableLightManagerXml() 
 
- 
 - 
Method Detail- 
storepublic org.jdom2.Element store(java.lang.Object o) Description copied from interface:XmlAdapterStore the object in XML- Parameters:
- o- The object to be recorded. Specific XmlAdapter implementations will require this to be of a specific type; that binding is done in ConfigXmlManager.
- Returns:
- The XML representation Element
 
 - 
loadpublic boolean load(@Nonnull org.jdom2.Element sharedConditionals, org.jdom2.Element perNodeConditionals) Description copied from class:AbstractXmlAdapterCreate a set of configured objects from their XML description.- Specified by:
- loadin interface- XmlAdapter
- Overrides:
- loadin class- AbstractXmlAdapter
- Parameters:
- sharedConditionals- Top-level XML element containing the common, multi-node elements of the description
- perNodeConditionals- Top-level XML element containing the private, single-node elements of the description
- Returns:
- true if successful
 
 - 
loadOrderpublic int loadOrder() Description copied from class:AbstractXmlAdapter- Specified by:
- loadOrderin interface- XmlAdapter
- Overrides:
- loadOrderin class- AbstractXmlAdapter
 
 
- 
 
-