|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XmlAdapter
Interface assumed during configuration operations.
ConfigXmlManager| Method Summary | |
|---|---|
void |
load(org.jdom.Element e)
Create a set of configured objects from their XML description |
void |
load(org.jdom.Element e,
Object o)
Create a set of configured objects from their XML description, using an auxiliary object. |
org.jdom.Element |
store(Object o)
Store the |
| Method Detail |
|---|
void load(org.jdom.Element e)
throws Exception
e - Top-level XML element containing the description
Exception - when a error prevents creating the objects as
as required by the input XML.
void load(org.jdom.Element e,
Object o)
throws Exception
For example, the auxilary object o might be a manager or GUI of some type that needs to be informed as each object is created.
e - Top-level XML element containing the descriptiono - Implementation-specific Object needed for the conversion
Exception - when a error prevents creating the objects as
as required by the input XML.org.jdom.Element store(Object o)
o - The object to be recorded. Specific XmlAdapter
implementations will require this to be of a specific
type; that binding is done in ConfigXmlManager.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||