Need of JDOMExternalizable

When do we need to deserialize the object from XML ?
From which XML does it get deserialized?


1 comment

Hello Priya,

P> When do we need to deserialize the object from XML ? From which XML
P> does it get deserialized?

JDOMExternalizable is needed when you need to save and restore the settings
of your component between runs of IDEA. The specific XML file to which the
settings are saved is an implementation detail.

This is all explained in much detail in the new plugin development tutorial.
I suggest that you study it in detail before asking questions on the very
basics of plugin development.

http://www.jetbrains.com/idea/documentation/howto_03.html

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

Please sign in to leave a comment.