org.jhotdraw.xml
Interface DOMStorable

All Known Subinterfaces:
CompositeFigure, ConnectionFigure, Connector, DecoratedFigure, Drawing, Figure, ImageHolderFigure, ODGFigure, SVGFigure, TextHolderFigure
All Known Implementing Classes:
AbstractAttributedCompositeFigure, AbstractAttributedDecoratedFigure, AbstractAttributedFigure, AbstractCompositeFigure, AbstractConnector, AbstractDrawing, AbstractFigure, AbstractLocator, ArrowTip, BezierFigure, BezierLabelLocator, BezierPointLocator, BorderRectangleFigure, ChopBezierConnector, ChopDiamondConnector, ChopEllipseConnector, ChopRectangleConnector, ChopRoundRectangleConnector, ChopTriangleConnector, CompositeLineDecoration, CurvedLiner, DefaultDOMStorableSample.MyObject, DefaultDrawing, DependencyFigure, DiamondFigure, ElbowLiner, EllipseFigure, GraphicalCompositeFigure, GroupFigure, ImageFigure, LabeledLineConnectionFigure, LabelFigure, LineConnectionFigure, LineFigure, ListFigure, LocatorConnector, MovableChildFiguresSample.LabeledEllipseFigure, NodeFigure, ODGAttributedFigure, ODGBezierFigure, ODGDrawing, ODGEllipseFigure, ODGGroupFigure, ODGPathFigure, ODGRectFigure, PerpendicularBar, QuadTreeCompositeFigure, QuadTreeDrawing, QuickAndDirtyDOMStorableSample.MyObject, RectangleFigure, RelativeDecoratorLocator, RelativeLocator, RoundRectangleFigure, SeparatorLineFigure, SlantedLiner, SmartConnectionFigureSample.SmartConnectionFigure, StickyRectangleConnector, StraightLineFigure, SVGAttributedFigure, SVGBezierFigure, SVGEllipseFigure, SVGGroupFigure, SVGImageFigure, SVGPathFigure, SVGRectFigure, SVGTextAreaFigure, SVGTextFigure, TaskFigure, TextAreaFigure, TextFigure, TriangleFigure

public interface DOMStorable

Interface for objects that can be made persistent using DOMOutput.writeObject and DOMInput.readObject.

By convention every object implementing the DOMStorable interface MUST provide a public parameterless constructor.

Version:
$Id: DOMStorable.java 527 2009-06-07 14:28:19Z rawcoder $
Author:
Werner Randelshofer

Method Summary
 void read(DOMInput in)
           
 void write(DOMOutput out)
           
 

Method Detail

write

void write(DOMOutput out)
           throws java.io.IOException
Throws:
java.io.IOException

read

void read(DOMInput in)
          throws java.io.IOException
Throws:
java.io.IOException