org.jhotdraw.xml
Interface DOMStorable
- All Known Subinterfaces:
- CompositeFigure, ConnectionFigure, Connector, Drawing, Figure, SVGFigure, TextHolder
- All Known Implementing Classes:
- AbstractAttributedCompositeFigure, AbstractCompositeFigure, AbstractConnector, AbstractDrawing, AbstractFigure, AbstractLocator, ArrowTip, AttributedFigure, BezierFigure, BezierLabelLocator, BezierPointLocator, BorderRectangleFigure, ChopBezierConnector, ChopBoxConnector, ChopDiamondConnector, ChopEllipseConnector, ChopRoundRectConnector, ChopTriangleConnector, DefaultDrawing, DependencyFigure, DiamondFigure, ElbowLiner, EllipseFigure, GraphicalCompositeFigure, GroupFigure, Insets2DDouble, LabeledLineConnectionFigure, LabelFigure, LineConnectionFigure, LineFigure, ListFigure, LocatorConnector, NodeFigure, QuadTreeDrawing, RectangleFigure, RelativeDecoratorLocator, RelativeLocator, RoundRectangleFigure, SeparatorLineFigure, SlantedLiner, StickyChopConnector, SVGDrawing, SVGEllipse, SVGGroup, SVGImage, SVGLine, SVGPath, SVGRect, SVGText, 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.
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