|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisad.data.dods.AttributeAdapterFactory
public class AttributeAdapterFactory
Provides support for creating adapters that bridge between DODS attributes and the VisAD data-import context.
Instances are immutable.
Constructor Summary | |
---|---|
protected |
AttributeAdapterFactory()
Constructs from nothing. |
Method Summary | |
---|---|
AttributeAdapter |
attributeAdapter(java.lang.String name,
Attribute attr)
Returns an adapter of a DODS attribute. |
static AttributeAdapterFactory |
attributeAdapterFactory()
Returns an instance of this class. |
ByteAttributeAdapter |
byteAdapter(java.lang.String name,
Attribute attr)
Returns an adapter of a DODS Attribute.BYTE attribute. |
ContainerAttributeAdapter |
containerAdapter(java.lang.String name,
Attribute attr)
Returns an adapter of a DODS Attribute.CONTAINER attribute. |
Float32AttributeAdapter |
float32Adapter(java.lang.String name,
Attribute attr)
Returns an adapter of a DODS Attribute.FLOAT32 attribute. |
Float64AttributeAdapter |
float64Adapter(java.lang.String name,
Attribute attr)
Returns an adapter of a DODS Attribute.FLOAT64 attribute. |
Int16AttributeAdapter |
int16Adapter(java.lang.String name,
Attribute attr)
Returns an adapter of a DODS Attribute.INT16 attribute. |
Int32AttributeAdapter |
int32Adapter(java.lang.String name,
Attribute attr)
Returns an adapter of a DODS Attribute.INT32 attribute. |
StringAttributeAdapter |
stringAdapter(java.lang.String name,
Attribute attr)
Returns an adapter of a DODS Attribute.STRING attribute. |
UInt16AttributeAdapter |
uInt16Adapter(java.lang.String name,
Attribute attr)
Returns an adapter of a DODS Attribute.UINT16 attribute. |
UInt32AttributeAdapter |
uInt32Adapter(java.lang.String name,
Attribute attr)
Returns an adapter of a DODS Attribute.UINT32 attribute. |
UnknownAttributeAdapter |
unknownAdapter(java.lang.String name,
Attribute attr)
Returns an adapter of a DODS Attribute.UNKNOWN attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AttributeAdapterFactory()
Method Detail |
---|
public static AttributeAdapterFactory attributeAdapterFactory()
public AttributeAdapter attributeAdapter(java.lang.String name, Attribute attr) throws BadFormException, VisADException, java.rmi.RemoteException
name
- The name of the DODS attribute.attr
- The DODS attribute.
BadFormException
- The DODS information is corrupt.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public StringAttributeAdapter stringAdapter(java.lang.String name, Attribute attr) throws VisADException, java.rmi.RemoteException
Attribute.STRING
attribute.
name
- The name of the DODS attribute.attr
- The DODS attribute.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public ByteAttributeAdapter byteAdapter(java.lang.String name, Attribute attr) throws VisADException, java.rmi.RemoteException
Attribute.BYTE
attribute.
name
- The name of the DODS attribute.attr
- The DODS attribute.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public Int16AttributeAdapter int16Adapter(java.lang.String name, Attribute attr) throws VisADException, java.rmi.RemoteException
Attribute.INT16
attribute.
name
- The name of the DODS attribute.attr
- The DODS attribute.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public UInt16AttributeAdapter uInt16Adapter(java.lang.String name, Attribute attr) throws VisADException, java.rmi.RemoteException
Attribute.UINT16
attribute.
name
- The name of the DODS attribute.attr
- The DODS attribute.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public Int32AttributeAdapter int32Adapter(java.lang.String name, Attribute attr) throws VisADException, java.rmi.RemoteException
Attribute.INT32
attribute.
name
- The name of the DODS attribute.attr
- The DODS attribute.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public UInt32AttributeAdapter uInt32Adapter(java.lang.String name, Attribute attr) throws VisADException, java.rmi.RemoteException
Attribute.UINT32
attribute.
name
- The name of the DODS attribute.attr
- The DODS attribute.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public Float32AttributeAdapter float32Adapter(java.lang.String name, Attribute attr) throws VisADException, java.rmi.RemoteException
Attribute.FLOAT32
attribute.
name
- The name of the DODS attribute.attr
- The DODS attribute.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public Float64AttributeAdapter float64Adapter(java.lang.String name, Attribute attr) throws VisADException, java.rmi.RemoteException
Attribute.FLOAT64
attribute.
name
- The name of the DODS attribute.attr
- The DODS attribute.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public ContainerAttributeAdapter containerAdapter(java.lang.String name, Attribute attr) throws VisADException, java.rmi.RemoteException
Attribute.CONTAINER
attribute.
name
- The name of the DODS attribute.attr
- The DODS attribute.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.public UnknownAttributeAdapter unknownAdapter(java.lang.String name, Attribute attr) throws VisADException, java.rmi.RemoteException
Attribute.UNKNOWN
attribute.
name
- The name of the DODS attribute.attr
- The DODS attribute.
VisADException
- VisAD failure.
java.rmi.RemoteException
- Java RMI failure.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |