|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmrix.configurexml.AbstractConnectionConfigXml
public abstract class AbstractConnectionConfigXml
Abstract base (and partial implementation) for classes persisting the status of serial port adapters.
| Field Summary | |
|---|---|
protected SerialPortAdapter |
adapter
|
| Constructor Summary | |
|---|---|
AbstractConnectionConfigXml()
|
|
| Method Summary | |
|---|---|
protected void |
extendElement(org.jdom.Element e)
Customizable method if you need to add anything more |
protected abstract void |
getInstance()
|
void |
load(org.jdom.Element e)
Update static data from XML file |
void |
load(org.jdom.Element element,
Object o)
Update static data from XML file |
protected abstract void |
register()
|
org.jdom.Element |
store(Object o)
Default implementation for storing the static contents of the serial port implementation |
protected void |
unpackElement(org.jdom.Element e)
Customizable method if you need to add anything more |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SerialPortAdapter adapter
| Constructor Detail |
|---|
public AbstractConnectionConfigXml()
| Method Detail |
|---|
protected abstract void getInstance()
protected abstract void register()
public org.jdom.Element store(Object o)
store in interface XmlAdaptero - Object to store, of type PositionableLabel
protected void extendElement(org.jdom.Element e)
e - Element being created, update as needed
public void load(org.jdom.Element e)
throws Exception
load in interface XmlAdaptere - Top level Element to unpack.
Exception - when a error prevents creating the objects as
as required by the input XML.protected void unpackElement(org.jdom.Element e)
e - Element being created, update as needed
public void load(org.jdom.Element element,
Object o)
load in interface XmlAdapterelement - Top level Element to unpack.o - Implementation-specific Object needed for the conversion
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||