Interface XmlPersistable

All Known Implementing Classes:
AddeImageDataSource, AddeImageDescriptor, AddePointDataSource, AddeProfilerDataSource, AddeTextDataSource, AddeTextProductDataSource, AMRCTextPointDataSource, CacheDataSource, CDMProfileDataSource, CDMProfilerDataSource, CDMRadarDataSource, CDOGTextPointDataSource, DataSourceImpl, DbPointDataSource, DbTrajectoryDataSource, DefaultIdv, DemDataSource, DescriptorDataSource, DiamondPointDataSource, DodsGeoGridDataSource, DoradeDataSource, DrawingDataSource, EOLProfilerDataSource, FilesDataSource, FrontDataSource, GeodasDataSource, GeoGridDataSource, GeotiffDataSource, GNOMETextPointDataSource, GridCoverageDataSource, GridDataSource, IdvBase, IdvServer.MyIdv, ImageDataSource, ImageGridDataSource, ImageXmlDataSource, IntegratedDataViewer, JsonDataSource, KmlDataSource, Level2RadarDataSource, ListDataSource, McIDASImageDataSource, MovieDataSource, MultiPaneIdv, NetcdfMetarDataSource, NetcdfPointCloudDataSource, NetcdfPointDataSource, NetcdfRadarDataSource, NwxTextProductDataSource, ParcelMode, PlaceFileDataSource, PointCloudDataSource, PointDataSource, ProjectionCoordinateSystem, RadarDataSource, RadarMapProjection, RaobDataSource, SerializedDataSource, ShapeFileDataSource, SondeDataSource, TextDataSource, TextPointDataSource, TextProductDataSource, TrackDataSource, TrajectoryFeatureTypeDataSource, UTMCoordinateSystem, Vis5DDataSource, VisadDataSource, WaterMLDataSource, WmsDataSource, WRFHDNetcdfDataSource

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

    Modifier and Type
    Method
    Description
    Create the xml representation of the object.
    boolean
    initFromXml(XmlEncoder encoder, Element element)
    Initialize this object from the given xml element.
  • Method Details

    • 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.