* @version $Id: DockableNodeSerializer.java,v 1.7 2005-07-06 18:10:49 winnetou25 Exp $
*/
public class DockableNodeSerializer implements ISerializer {
public Element serialize(Document document, Object object) {
DockableNode dockableNode = (DockableNode) object;
Element dockableNodeElement = document.createElement(PersistenceConstants.DOCKABLE_NODE_ELEMENT_NAME);
dockableNodeElement.setAttribute(PersistenceConstants.DOCKABLE_NODE_ATTRIBUTE_DOCKABLE_ID, dockableNode.getDockableId());
return dockableNodeElement;
}