public class ContainerAttributeAdapter extends AttributeAdapter
Attribute.CONTAINER
attribute
to the VisAD data-import context. A container attribute is, basically, an
inner-level attribute table.
Instances are immutable.
Constructor and Description |
---|
ContainerAttributeAdapter(String name,
dods.dap.Attribute attr,
AttributeAdapterFactory factory)
Constructs from a name, an appropriate attribute, and a factory for
creating adapters for DODS variables.
|
Modifier and Type | Method and Description |
---|---|
DataImpl |
data(boolean copy)
Returns the VisAD data object corresponding to this instance.
|
attributeTable, attributeTable, getCacheStrategy, isFlat, mathType, realType, realType, realType, realType, scalarName
public ContainerAttributeAdapter(String name, dods.dap.Attribute attr, AttributeAdapterFactory factory) throws VisADException, RemoteException
name
- The name of the attribute.attr
- The attribute. Must have the appropriate type.factory
- A factor for creating adapters for DODS
variables.VisADException
- VisAD failure. Probably the attribute has an
inappropriate type.RemoteException
- Java RMI failure.public DataImpl data(boolean copy)
data
in class AttributeAdapter
copy
- If true, then a copy of the data object is
returned.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.