problem with JDOMExternalizable

i write moduleComponent class that implements JDOMExternalizable , this class contains an ArrayList filed , i want to externalize this field (or elements of this field) ,,, how can i do this ???

1 comment
Comment actions Permalink

Hello roohi,

r> i write moduleComponent class that implements JDOMExternalizable ,
r> this class contains an ArrayList filed , i want to externalize this
r> field (or elements of this field) ,,, how can i do this ???

Create org.jdom.Element instances corresponding to the elements of your ArrayList
and add them as children to the element passed to the writeExternal() method.

--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.