|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.configurexml.DccLocoAddressXml
public class DccLocoAddressXml
Handle XML configuration for DccLocoAddress objects.
| Constructor Summary | |
|---|---|
DccLocoAddressXml()
|
|
| Method Summary | |
|---|---|
DccLocoAddress |
getAddress(Element element)
|
boolean |
load(Element element)
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. |
Element |
store(Object o)
Default implementation for storing the contents of a DccLocoAddress |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DccLocoAddressXml()
| Method Detail |
|---|
public Element store(Object o)
store in interface XmlAdaptero - Object to store, of type DccLocoAddress
public boolean load(Element element)
XmlAdapter
load in interface XmlAdapterelement - Top-level XML element containing the description
public DccLocoAddress getAddress(Element element)
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.
load in interface XmlAdapterelement - 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 | |||||||||