public static class DefaultDOMStorableSample.MyObject extends java.lang.Object implements DOMStorable
Constructor and Description |
---|
MyObject()
DOM Storable objects must have a non-argument constructor.
|
MyObject(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
void |
read(DOMInput in) |
void |
setName(java.lang.String name) |
void |
write(DOMOutput out) |
public MyObject()
public MyObject(java.lang.String name)
public java.lang.String getName()
public void setName(java.lang.String name)
public void write(DOMOutput out) throws java.io.IOException
write
in interface DOMStorable
java.io.IOException
public void read(DOMInput in) throws java.io.IOException
read
in interface DOMStorable
java.io.IOException