public class DataFactory extends Object
Instances are immutable.
| Modifier | Constructor and Description |
|---|---|
protected |
DataFactory()
Constructs from nothing.
|
protected |
DataFactory(AttributeAdapterFactory attributeFactory,
VariableAdapterFactory variableFactory)
Constructs from adapter factories for DODS attributes and DODS variables.
|
| Modifier and Type | Method and Description |
|---|---|
DataImpl |
data(dods.dap.BaseType var,
dods.dap.DAS das,
boolean copy)
Returns the VisAD data object corresponding to a DODS variable.
|
DataImpl |
data(String name,
dods.dap.Attribute attribute,
boolean copy)
Returns the VisAD data object corresponding to a DODS attribute.
|
static DataFactory |
dataFactory()
Returns an instance of this class.
|
static DataFactory |
dataFactory(AttributeAdapterFactory attributeFactory,
VariableAdapterFactory variableFactory)
Returns an instance of this class corresponding to adapter factories for
DODS attributes and DODS variables.
|
protected DataFactory()
protected DataFactory(AttributeAdapterFactory attributeFactory, VariableAdapterFactory variableFactory)
attributeFactory - An adapter factory for DODS attributes.variableFactory - An adapter factory for DODS variables.public static DataFactory dataFactory()
public static DataFactory dataFactory(AttributeAdapterFactory attributeFactory, VariableAdapterFactory variableFactory)
attributeFactory - An adapter factory for DODS attributes.variableFactory - An adapter factory for DODS variables.public DataImpl data(String name, dods.dap.Attribute attribute, boolean copy) throws BadFormException, VisADException, RemoteException
name - The name of the DODS attribute.attribute - A DODS attribute.copy - If true, then a copy of the data object is
returned.BadFormException - The DODS information is corrupt.VisADException - VisAD failure.RemoteException - Java RMI failure.public DataImpl data(dods.dap.BaseType var, dods.dap.DAS das, boolean copy) throws BadFormException, VisADException, RemoteException
var - A DODS variable.das - The DODS DAS in which the attribute
table for the DODS variable is embedded.copy - If true, then a copy of the data object is
returned.BadFormException - The DODS information is corrupt.VisADException - VisAD failure.RemoteException - Java RMI failure.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.