public interface XmlDelegate
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Element |
createElement(XmlEncoder encoder,
java.lang.Object object)
Create the xml element for the given object.
|
java.lang.Object |
createObject(XmlEncoder encoder,
org.w3c.dom.Element element)
Create the Object defined by the given xml element.
|
org.w3c.dom.Element createElement(XmlEncoder encoder, java.lang.Object object)
encoder
- The XmlEncoder that is calling this method.object
- The Object to encode.java.lang.Object createObject(XmlEncoder encoder, org.w3c.dom.Element element)
encoder
- The XmlEncoder that is calling this method.element
- The xml that defines the object.