public class XMLLoader extends java.lang.Object implements XML.ObjectLoader
Constructor and Description |
---|
XMLLoader() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
createObject(XMLControl control)
Creates a new object if the class type has a no-arg constructor.
|
java.lang.Object |
loadObject(XMLControl control,
java.lang.Object obj)
Loads the object with xml data.
|
void |
saveObject(XMLControl control,
java.lang.Object obj)
Empty method.
|
public void saveObject(XMLControl control, java.lang.Object obj)
saveObject
in interface XML.ObjectLoader
control
- the controlobj
- the objectpublic java.lang.Object createObject(XMLControl control)
createObject
in interface XML.ObjectLoader
control
- the controlpublic java.lang.Object loadObject(XMLControl control, java.lang.Object obj)
loadObject
in interface XML.ObjectLoader
control
- the controlobj
- the object