|
JHotDraw 7.5.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Strategy
DOMFactory
is used by DOMInput
and DOMOutput
for
reading and writing objects.
Client: DOMInput
, DOMOutput
.
Strategy: DOMFactory
.
Chain of Responsibility
DOMFactory
can delegate reading and writing to objects which implement
the DOMStorable
interface.
Client: DOMFactory
.
Strategy: DOMStorable
.
Method Summary | |
---|---|
void |
read(DOMInput in)
|
void |
write(DOMOutput out)
|
Method Detail |
---|
void write(DOMOutput out) throws java.io.IOException
java.io.IOException
void read(DOMInput in) throws java.io.IOException
java.io.IOException
|
Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project. Some rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |