|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmrix.loconet.configurexml.LnSecurityElementManagerXml
public class LnSecurityElementManagerXml
Provides load and store functionality for configuring LnSecurityElementManager.
| Constructor Summary | |
|---|---|
LnSecurityElementManagerXml()
|
|
| Method Summary | |
|---|---|
boolean |
load(Element elements)
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. |
void |
loadElements(Element elements)
Utility method to load the individual SecurityElement objects. |
Element |
store(Object o)
Store the |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LnSecurityElementManagerXml()
| Method Detail |
|---|
public Element store(Object o)
XmlAdapter
store in interface XmlAdaptero - 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.
load in interface XmlAdapterelement - Top-level XML element containing the descriptiono - Implementation-specific Object needed for the conversionpublic boolean load(Element elements)
XmlAdapter
load in interface XmlAdapterelements - Top-level XML element containing the description
public void loadElements(Element elements)
elements - Element containing the securityelement elements to load.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||