|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisad.data.dods.Adapter
visad.data.dods.AttributeAdapter
visad.data.dods.StringAttributeAdapter
public class StringAttributeAdapter
Provides support for adapting DODS Attribute.STRING
attributes to
the VisAD data-import context.
Instances are immutable.
Constructor Summary | |
---|---|
StringAttributeAdapter(java.lang.String name,
Attribute attr)
Constructs from a name and an appropriate attribute. |
Method Summary | |
---|---|
DataImpl |
data(boolean copy)
Returns the VisAD data object corresponding to this instance. |
Methods inherited from class visad.data.dods.Adapter |
---|
attributeTable, attributeTable, getCacheStrategy, isFlat, mathType, realType, realType, realType, realType, scalarName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringAttributeAdapter(java.lang.String name, Attribute attr) throws VisADException, java.rmi.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.
java.rmi.RemoteException
- Java RMI failure.Method Detail |
---|
public DataImpl data(boolean copy)
data
in class AttributeAdapter
copy
- If true, then a copy is returned.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |