intarsys runtime library

de.intarsys.tools.dom
Interface IElementSerializationHandler


public interface IElementSerializationHandler

An object that supports serialization of a target object to an Element instance.


Method Summary
 void serialize(Object target, Element element)
          Serialize the state of target in element.
 

Method Detail

serialize

void serialize(Object target,
               Element element)
               throws ElementSerializationException
Serialize the state of target in element. element represents the receiver immediately, it contains the state information directly, not as a child element. This means most of the time you have to change the element name itself and add child elements.

Parameters:
element -
Throws:
ElementSerializationException

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.