|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.managers.configurexml.AbstractNamedBeanManagerConfigXML
jmri.implementation.configurexml.MergSD2SignalHeadXml
public class MergSD2SignalHeadXml
Handle XML configuration for MergSD2SignalHead objects. This file is part of JMRI. 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 | |
|---|---|
MergSD2SignalHeadXml()
|
|
| Method Summary | |
|---|---|
boolean |
load(Element element)
Create a MergSD2SignalHead |
void |
load(Element element,
Object o)
Create a set of configured objects from their XML description, using an auxiliary object. |
Element |
store(Object o)
Default implementation for storing the contents of a MergSD2SignalHead |
| Methods inherited from class jmri.managers.configurexml.AbstractNamedBeanManagerConfigXML |
|---|
loadCommon, storeCommon |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MergSD2SignalHeadXml()
| Method Detail |
|---|
public Element store(Object o)
o - Object to store, of type MergSD2SignalHead
public boolean load(Element element)
element - Top level Element to unpack.
public void load(Element element,
Object o)
XmlAdapterFor example, the auxilary object o might be a manager or GUI of some type that needs to be informed as each object is created.
element - Top-level XML element containing the descriptiono - Implementation-specific Object needed for the conversion
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||