ucar.unidata.xml
Interface XmlPersistable

All Known Implementing Classes:
AddeImageDataSource, AddeImageDescriptor, AddePointDataSource, AddeProfilerDataSource, AddeTextDataSource, AtcfStormDataSource, CacheDataSource, CDMRadarDataSource, DataSourceImpl, DbPointDataSource, DbTrajectoryDataSource, DefaultIdv, DemDataSource, DescriptorDataSource, DodsGeoGridDataSource, DoradeDataSource, DrawingDataSource, EOLProfilerDataSource, FilesDataSource, FrontDataSource, GeodasDataSource, GeoGridDataSource, GeotiffDataSource, GridDataSource, IdvBase, ImageDataSource, ImageXmlDataSource, IntegratedDataViewer, KmlDataSource, Level2RadarDataSource, ListDataSource, McIDASImageDataSource, MovieDataSource, MultiPaneIdv, NetcdfMetarDataSource, NetcdfPointDataSource, NetcdfRadarDataSource, ParcelMode, PointDataSource, ProjectionCoordinateSystem, RadarDataSource, RadarMapProjection, RaobDataSource, SerializedDataSource, ShapeFileDataSource, SondeDataSource, STIStormDataSource, StormDataSource, TextDataSource, TextPointDataSource, TrackDataSource, UTMCoordinateSystem, Vis5DDataSource, VisadDataSource, WmsDataSource

public interface XmlPersistable

An interface that an object that is to be persisted can implement.

Version:
$Revision: 1.5 $Date: 2005/05/13 18:33:54 $
Author:
Metapps development team

Method Summary
 Element createElement(XmlEncoder encoder)
          Create the xml representation of the object.
 boolean initFromXml(XmlEncoder encoder, Element element)
          Initialize this object from the given xml element.
 

Method Detail

createElement

Element createElement(XmlEncoder encoder)
Create the xml representation of the object.

Parameters:
encoder - The encoder.
Returns:
The xml representation.

initFromXml

boolean initFromXml(XmlEncoder encoder,
                    Element element)
Initialize this object from the given xml element.

Parameters:
encoder - The encoder.
element - The xml element representing this object.
Returns:
Return true if it is ok to do the default processing for this node.