|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.configurexml.AbstractXmlAdapter
jmri.managers.configurexml.AbstractNamedBeanManagerConfigXML
jmri.managers.configurexml.AbstractAudioManagerConfigXML
jmri.jmrit.audio.configurexml.DefaultAudioManagerXml
public class DefaultAudioManagerXml
Persistency implementation for the default AudioManager persistence.
The state of audio objects is not persisted, just their existence.
JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.
JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
| Constructor Summary | |
|---|---|
DefaultAudioManagerXml()
Default constructor |
|
| Method Summary | |
|---|---|
boolean |
load(Element audio)
Create a AudioManager object of the correct class, then register and fill it. |
void |
setStoreElementClass(Element audio)
Subclass provides implementation to create the correct top element, including the type information. |
| Methods inherited from class jmri.managers.configurexml.AbstractAudioManagerConfigXML |
|---|
load, loadAudio, loadOrder, store |
| Methods inherited from class jmri.managers.configurexml.AbstractNamedBeanManagerConfigXML |
|---|
getSystemName, getUserName, getUserName, loadCommon, storeCommon |
| Methods inherited from class jmri.configurexml.AbstractXmlAdapter |
|---|
creationErrorEncountered, getConfigXmlManager, loadDeferred, setConfigXmlManager |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultAudioManagerXml()
| Method Detail |
|---|
public void setStoreElementClass(Element audio)
setStoreElementClass in class AbstractAudioManagerConfigXMLaudio - The top-level element being createdpublic boolean load(Element audio)
load in interface XmlAdapterload in class AbstractAudioManagerConfigXMLaudio - Top level Element to unpack.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||