thredds.cataloggen.config
Class GrADSDataServerDatasetSource
java.lang.Object
thredds.cataloggen.config.DatasetSource
thredds.cataloggen.config.GrADSDataServerDatasetSource
public class GrADSDataServerDatasetSource
- extends DatasetSource
| Fields inherited from class thredds.cataloggen.config.DatasetSource |
accessPointDataset, addDatasetSize, catalogRefInfoList, createCatalogRefs, datasetEnhancerList, datasetFilterList, datasetNamerList, datasetSorter, isValid, msgLog, resultingCatalog, type |
|
Method Summary |
protected InvDataset |
createDataset(java.lang.String datasetLocation,
java.lang.String prefixUrlPath)
Creates an InvDataset to represent the dataset at the given location
on this DatasetSource. |
protected InvCatalog |
createSkeletonCatalog(java.lang.String prefixUrlPath)
Return a skeleton InvCatalog for this DatasetSource. |
protected java.util.List |
expandThisLevel(InvDataset collectionDataset,
java.lang.String prefixUrlPath)
Return a list of the InvDatasets contained in the given collection dataset
on this DatasetSource. |
protected boolean |
isCollection(InvDataset dataset)
Return true if the given dataset is a collection dataset, false otherwise. |
| Methods inherited from class thredds.cataloggen.config.DatasetSource |
addDatasetEnhancer, addDatasetFilter, addDatasetNamer, equals, expand, expand, fullExpand, getAccessPoint, getCatalogRefInfoList, getDatasetEnhancerList, getDatasetFilterList, getDatasetNamerList, getDatasetSorter, getName, getPrefixUrlPath, getResultingCatalog, getResultService, getStructure, getType, hashCode, isAddDatasetSize, isCreateCatalogRefs, isFlatten, newDatasetSource, setAccessPoint, setAddDatasetSize, setCreateCatalogRefs, setDatasetSorter, setName, setPrefixUrlPath, setResultService, setStructure, toString, validate |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
GrADSDataServerDatasetSource
public GrADSDataServerDatasetSource()
createDataset
protected InvDataset createDataset(java.lang.String datasetLocation,
java.lang.String prefixUrlPath)
- Description copied from class:
DatasetSource
- Creates an InvDataset to represent the dataset at the given location
on this DatasetSource.
- Specified by:
createDataset in class DatasetSource
- Parameters:
datasetLocation - a String indicating the location of a dataset.prefixUrlPath - a path name to be prefixed on the urlPath
- Returns:
- an InvDataset for the given dataset location.
createSkeletonCatalog
protected InvCatalog createSkeletonCatalog(java.lang.String prefixUrlPath)
- Description copied from class:
DatasetSource
- Return a skeleton InvCatalog for this DatasetSource. The skeleton catalog
is unnamed with a single top-level dataset representing the DatasetSource
accessPoint and a service built from the DatasetSource ResultService.
- Specified by:
createSkeletonCatalog in class DatasetSource
- Returns:
- a skeleton InvCatalog for this DatasetSource.
isCollection
protected boolean isCollection(InvDataset dataset)
- Description copied from class:
DatasetSource
- Return true if the given dataset is a collection dataset, false otherwise.
- Specified by:
isCollection in class DatasetSource
- Parameters:
dataset - - the InvDataset to test for being a collection dataset.
- Returns:
- true if the given dataset is a collection dataset, false otherwise.
expandThisLevel
protected java.util.List expandThisLevel(InvDataset collectionDataset,
java.lang.String prefixUrlPath)
- Description copied from class:
DatasetSource
- Return a list of the InvDatasets contained in the given collection dataset
on this DatasetSource.
- Specified by:
expandThisLevel in class DatasetSource
- Parameters:
collectionDataset - - the collection dataset to be expanded.
- Returns:
- A list of the InvDatasets contained in the given collection dataset.