public abstract class DataNode extends Object
Modifier | Constructor and Description |
---|---|
protected |
DataNode()
Construct.
|
Modifier and Type | Method and Description |
---|---|
abstract DataVisitor |
accept(DataVisitor visitor)
Accept a visitor and traverse the data object.
|
static DataNode |
create(Data data)
Factory method for creating an instance of the appropriate type.
|
protected DataNode()
public static DataNode create(Data data) throws UnimplementedException
data
- The VisAD data object to be traversed.UnimplementedException
- A (soon to be implemented)
method isn't implemented yet.public abstract DataVisitor accept(DataVisitor visitor) throws UnimplementedException, BadFormException, VisADException, RemoteException
visitor
- The object that will have it's visit()
method called for each subcomponent of the VisAD data
object.visitor
for convenience.UnimplementedException
- A (soon to be implemented)
method isn't implemented yet.BadFormException
- The VisAD data object doesn't "fit"
the data model used by visitor
.VisADException
- Problem in core VisAD (probably
couldn't create some VisAD object).RemoteException
- Problem accessing the VisAD data
object.DataVisitor
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.