it.unimo.dbgroup.momis.XmlTools
Interface FullXmlExternalizable

All Superinterfaces:
java.io.Serializable, XmlExternalizable

public interface FullXmlExternalizable
extends XmlExternalizable

Allows a custom class to customize even its XML object definition element.


Method Summary
 org.w3c.dom.Element createObjectTag(java.lang.String field, java.lang.Object obj, java.lang.Integer object_id)
          Creates and return a custom object definition element.
 
Methods inherited from interface it.unimo.dbgroup.momis.XmlTools.XmlExternalizable
readXmlExternal, writeXmlExternal
 

Method Detail

createObjectTag

public org.w3c.dom.Element createObjectTag(java.lang.String field,
                                           java.lang.Object obj,
                                           java.lang.Integer object_id)
                                    throws java.lang.Throwable
Creates and return a custom object definition element.

This method must create, using the given parameters, a custom object definition element.

WARNING!! writing full custom object tags in the DOM may cause failure during reconstruction process. Please do not use this feature if you can.

Parameters:
field - The name of the field attribute.
obj - object that this method must describe
object_id - ID for the object element
Throws:
java.lang.Throwable


Universita' di Modena e Reggio Emilia