public class AttributeAdapterFactory extends Object
Instances are immutable.
Modifier | Constructor and Description |
---|---|
protected |
AttributeAdapterFactory()
Constructs from nothing.
|
Modifier and Type | Method and Description |
---|---|
AttributeAdapter |
attributeAdapter(String name,
dods.dap.Attribute attr)
Returns an adapter of a DODS attribute.
|
static AttributeAdapterFactory |
attributeAdapterFactory()
Returns an instance of this class.
|
ByteAttributeAdapter |
byteAdapter(String name,
dods.dap.Attribute attr)
Returns an adapter of a DODS
Attribute.BYTE attribute. |
ContainerAttributeAdapter |
containerAdapter(String name,
dods.dap.Attribute attr)
Returns an adapter of a DODS
Attribute.CONTAINER attribute. |
Float32AttributeAdapter |
float32Adapter(String name,
dods.dap.Attribute attr)
Returns an adapter of a DODS
Attribute.FLOAT32 attribute. |
Float64AttributeAdapter |
float64Adapter(String name,
dods.dap.Attribute attr)
Returns an adapter of a DODS
Attribute.FLOAT64 attribute. |
Int16AttributeAdapter |
int16Adapter(String name,
dods.dap.Attribute attr)
Returns an adapter of a DODS
Attribute.INT16 attribute. |
Int32AttributeAdapter |
int32Adapter(String name,
dods.dap.Attribute attr)
Returns an adapter of a DODS
Attribute.INT32 attribute. |
StringAttributeAdapter |
stringAdapter(String name,
dods.dap.Attribute attr)
Returns an adapter of a DODS
Attribute.STRING attribute. |
UInt16AttributeAdapter |
uInt16Adapter(String name,
dods.dap.Attribute attr)
Returns an adapter of a DODS
Attribute.UINT16 attribute. |
UInt32AttributeAdapter |
uInt32Adapter(String name,
dods.dap.Attribute attr)
Returns an adapter of a DODS
Attribute.UINT32 attribute. |
UnknownAttributeAdapter |
unknownAdapter(String name,
dods.dap.Attribute attr)
Returns an adapter of a DODS
Attribute.UNKNOWN attribute. |
protected AttributeAdapterFactory()
public static AttributeAdapterFactory attributeAdapterFactory()
public AttributeAdapter attributeAdapter(String name, dods.dap.Attribute attr) throws BadFormException, VisADException, RemoteException
name
- The name of the DODS attribute.attr
- The DODS attribute.BadFormException
- The DODS information is corrupt.VisADException
- VisAD failure.RemoteException
- Java RMI failure.public StringAttributeAdapter stringAdapter(String name, dods.dap.Attribute attr) throws VisADException, RemoteException
Attribute.STRING
attribute.name
- The name of the DODS attribute.attr
- The DODS attribute.VisADException
- VisAD failure.RemoteException
- Java RMI failure.public ByteAttributeAdapter byteAdapter(String name, dods.dap.Attribute attr) throws VisADException, RemoteException
Attribute.BYTE
attribute.name
- The name of the DODS attribute.attr
- The DODS attribute.VisADException
- VisAD failure.RemoteException
- Java RMI failure.public Int16AttributeAdapter int16Adapter(String name, dods.dap.Attribute attr) throws VisADException, RemoteException
Attribute.INT16
attribute.name
- The name of the DODS attribute.attr
- The DODS attribute.VisADException
- VisAD failure.RemoteException
- Java RMI failure.public UInt16AttributeAdapter uInt16Adapter(String name, dods.dap.Attribute attr) throws VisADException, RemoteException
Attribute.UINT16
attribute.name
- The name of the DODS attribute.attr
- The DODS attribute.VisADException
- VisAD failure.RemoteException
- Java RMI failure.public Int32AttributeAdapter int32Adapter(String name, dods.dap.Attribute attr) throws VisADException, RemoteException
Attribute.INT32
attribute.name
- The name of the DODS attribute.attr
- The DODS attribute.VisADException
- VisAD failure.RemoteException
- Java RMI failure.public UInt32AttributeAdapter uInt32Adapter(String name, dods.dap.Attribute attr) throws VisADException, RemoteException
Attribute.UINT32
attribute.name
- The name of the DODS attribute.attr
- The DODS attribute.VisADException
- VisAD failure.RemoteException
- Java RMI failure.public Float32AttributeAdapter float32Adapter(String name, dods.dap.Attribute attr) throws VisADException, RemoteException
Attribute.FLOAT32
attribute.name
- The name of the DODS attribute.attr
- The DODS attribute.VisADException
- VisAD failure.RemoteException
- Java RMI failure.public Float64AttributeAdapter float64Adapter(String name, dods.dap.Attribute attr) throws VisADException, RemoteException
Attribute.FLOAT64
attribute.name
- The name of the DODS attribute.attr
- The DODS attribute.VisADException
- VisAD failure.RemoteException
- Java RMI failure.public ContainerAttributeAdapter containerAdapter(String name, dods.dap.Attribute attr) throws VisADException, RemoteException
Attribute.CONTAINER
attribute.name
- The name of the DODS attribute.attr
- The DODS attribute.VisADException
- VisAD failure.RemoteException
- Java RMI failure.public UnknownAttributeAdapter unknownAdapter(String name, dods.dap.Attribute attr) throws VisADException, RemoteException
Attribute.UNKNOWN
attribute.name
- The name of the DODS attribute.attr
- The DODS attribute.VisADException
- VisAD failure.RemoteException
- Java RMI failure.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.