|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.configurexml.AbstractXmlAdapter
jmri.jmrix.ecos.configurexml.EcosPreferencesXml
public class EcosPreferencesXml
This class is here to prevent error messages being presented to the user on opening JMRI or saving the panel file, when connected to an Ecos. It currently serves no other function. The ecos preferences are stored under the connection configuration
| Constructor Summary | |
|---|---|
EcosPreferencesXml()
|
|
| Method Summary | |
|---|---|
boolean |
load(Element e)
Create a set of configured objects from their XML description |
void |
load(Element element,
Object o)
Create a set of configured objects from their XML description, using an auxiliary object. |
protected void |
register()
|
Element |
store(Object o)
Store the |
| Methods inherited from class jmri.configurexml.AbstractXmlAdapter |
|---|
creationErrorEncountered, getConfigXmlManager, loadDeferred, loadOrder, setConfigXmlManager |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EcosPreferencesXml()
| Method Detail |
|---|
public Element store(Object o)
XmlAdapter
o - The object to be recorded. Specific XmlAdapter
implementations will require this to be of a specific
type; that binding is done in ConfigXmlManager.
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 conversionprotected void register()
public boolean load(Element e)
XmlAdapter
e - Top-level XML element containing the description
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||