Package ucar.unidata.xml
Interface XmlDelegate
- All Known Implementing Classes:
AddeImageDescriptor
,XmlDelegateImpl
public interface XmlDelegate
An interface for an object that knows how to handle the xml encoding of certain classes of objects.
- Version:
- $Revision: 1.6 $Date: 2005/05/13 18:33:53 $
- Author:
- Metapps development team
-
Method Summary
Modifier and TypeMethodDescriptioncreateElement
(XmlEncoder encoder, Object object) Create the xml element for the given object.createObject
(XmlEncoder encoder, Element element) Create the Object defined by the given xml element.
-
Method Details
-
createElement
Create the xml element for the given object.- Parameters:
encoder
- The XmlEncoder that is calling this method.object
- The Object to encode.- Returns:
- The xml element that defines the given object.
-
createObject
Create the Object defined by the given xml element.- Parameters:
encoder
- The XmlEncoder that is calling this method.element
- The xml that defines the object.- Returns:
- The Object defined by the xml.
-