JHotDraw 7.4.1

org.jhotdraw.samples.mini
Class DefaultDOMStorableSample.MyObject

java.lang.Object
  extended by org.jhotdraw.samples.mini.DefaultDOMStorableSample.MyObject
All Implemented Interfaces:
DOMStorable
Enclosing class:
DefaultDOMStorableSample

public static class DefaultDOMStorableSample.MyObject
extends java.lang.Object
implements DOMStorable


Constructor Summary
DefaultDOMStorableSample.MyObject()
          DOM Storable objects must have a non-argument constructor.
DefaultDOMStorableSample.MyObject(java.lang.String name)
           
 
Method Summary
 java.lang.String getName()
           
 void read(DOMInput in)
           
 void setName(java.lang.String name)
           
 void write(DOMOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDOMStorableSample.MyObject

public DefaultDOMStorableSample.MyObject()
DOM Storable objects must have a non-argument constructor.


DefaultDOMStorableSample.MyObject

public DefaultDOMStorableSample.MyObject(java.lang.String name)
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

write

public void write(DOMOutput out)
           throws java.io.IOException
Specified by:
write in interface DOMStorable
Throws:
java.io.IOException

read

public void read(DOMInput in)
          throws java.io.IOException
Specified by:
read in interface DOMStorable
Throws:
java.io.IOException

Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.