org.jutil.xml.io
Interface XMLExternalizable
- All Known Subinterfaces:
- EmailMessage
- All Known Implementing Classes:
- DefaultEmailMessage, HtmlEmailMessage
public interface XMLExternalizable
|
Method Summary |
void |
readExternal(org.dom4j.Element in)
The object implements the readExternal method to restore its
contents by calling the methods of Element for attribute values
and Chiled element values. |
void |
writeExternal(org.dom4j.Element out)
|
writeExternal
void writeExternal(org.dom4j.Element out)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
void readExternal(org.dom4j.Element in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- The object implements the readExternal method to restore its
contents by calling the methods of Element for attribute values
and Chiled element values. The readExternal method must read the
values in the same sequence and with the same types as were written by writeExternal.
- Parameters:
in - the Element to read data from in order to restore the object
- Throws:
java.io.IOException - if I/O errors occur
java.lang.ClassNotFoundException