2018-03-01 10:14:10 +01:00
|
|
|
package eu.eudat.utilities.interfaces;
|
2017-12-15 11:05:51 +01:00
|
|
|
|
2018-02-01 10:08:06 +01:00
|
|
|
|
2017-12-15 11:05:51 +01:00
|
|
|
import org.w3c.dom.Document;
|
|
|
|
import org.w3c.dom.Element;
|
|
|
|
|
2018-02-16 11:34:02 +01:00
|
|
|
public interface XmlSerializable<T> {
|
2017-12-15 11:05:51 +01:00
|
|
|
Element toXml(Document doc);
|
2018-02-16 11:34:02 +01:00
|
|
|
|
2017-12-15 11:05:51 +01:00
|
|
|
T fromXml(Element item);
|
|
|
|
}
|