org.ofbiz.entity.serialize
Interface XmlSerializable<T>


public interface XmlSerializable<T>

XmlSerializable


Method Summary
 T deserialize(org.w3c.dom.Element element)
          Deserialize the XML element back to an object
 org.w3c.dom.Element serialize()
          Serialize the object to an XML element
 

Method Detail

deserialize

T deserialize(org.w3c.dom.Element element)
              throws SerializeException
Deserialize the XML element back to an object

Parameters:
element - XML element
Throws:
SerializeException

serialize

org.w3c.dom.Element serialize()
                              throws SerializeException
Serialize the object to an XML element

Throws:
SerializeException