public class StringAttributeAdapter extends AttributeAdapter
Attribute.STRING
attributes to
the VisAD data-import context.
Instances are immutable.
Constructor and Description |
---|
StringAttributeAdapter(String name,
dods.dap.Attribute attr)
Constructs from a name and an appropriate attribute.
|
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 StringAttributeAdapter(String name, dods.dap.Attribute attr) throws VisADException, RemoteException
name
- The name of the attribute.attr
- The attribute. Must have the appropriate type.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 is returned.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.