|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.data.FormNode
public abstract class FormNode
A node in the data form hierarchy for the storage of persistent data. This class implements the "composite" design pattern; the node will actually be either a "Form" or a "FormFamily".
Constructor Summary | |
---|---|
FormNode(String name)
Construct a data-form node with the given name. |
Method Summary | |
---|---|
abstract void |
add(String id,
Data data,
boolean replace)
Add data to an existing data object. |
abstract FormNode |
getForms(Data data)
Return the data forms that are compatible with a data object. |
String |
getName()
Return the name of this node. |
abstract DataImpl |
open(String id)
Open an existing data object. |
abstract DataImpl |
open(URL url)
Open a data object specified as a URL. |
abstract void |
save(String id,
Data data,
boolean replace)
Save a VisAD data object in this form. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormNode(String name)
Method Detail |
---|
public String getName()
public abstract void save(String id, Data data, boolean replace) throws BadFormException, IOException, RemoteException, VisADException
BadFormException
IOException
RemoteException
VisADException
public abstract void add(String id, Data data, boolean replace) throws BadFormException
BadFormException
public abstract DataImpl open(String id) throws BadFormException, IOException, VisADException
BadFormException
IOException
VisADException
public abstract DataImpl open(URL url) throws BadFormException, VisADException, IOException
BadFormException
VisADException
IOException
public abstract FormNode getForms(Data data) throws VisADException, RemoteException, IOException
VisADException
RemoteException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |