it.eng.spago.base
Interface XMLSerializer
- All Known Implementing Classes:
- StringXMLSerializer
public interface XMLSerializer
This is the interface to implement by objects that serialize from Java object to XML
Method Summary |
void |
serialize(org.w3c.dom.Document document,
org.w3c.dom.Element element,
java.lang.String key,
java.lang.Object source)
Serialize the object source putting in the DOM document. |
serialize
void serialize(org.w3c.dom.Document document,
org.w3c.dom.Element element,
java.lang.String key,
java.lang.Object source)
- Serialize the object source putting in the DOM document.
- Parameters:
document
- Current DOMelement
- Current element in DOMkey
- Key of the object to serializesource
- Object to serialize