@Immutable public class Catalog extends DatasetNode
Modifier and Type | Field and Description |
---|---|
static String |
CATALOG_NAMESPACE_10 |
static String |
DatasetHash |
static String |
DatasetRoots |
static org.jdom2.Namespace |
defNS |
static String |
Expires |
static org.jdom2.Namespace |
ncmlNS |
static org.jdom2.Namespace |
ncmlNSHttps |
static String |
NJ22_NAMESPACE |
static String |
NJ22_NAMESPACE_HTTPS |
static String |
Services |
static String |
Version |
static String |
XLINK_NAMESPACE |
static org.jdom2.Namespace |
xlinkNS |
static org.jdom2.Namespace |
xsiNS |
Constructor and Description |
---|
Catalog(URI baseURI,
String name,
Map<String,Object> flds,
List<thredds.client.catalog.builder.DatasetBuilder> datasets) |
Modifier and Type | Method and Description |
---|---|
Dataset |
findDatasetByID(String id) |
Service |
findService(ServiceType type) |
Service |
findService(String serviceName) |
Iterable<Dataset> |
getAllDatasets() |
URI |
getBaseURI() |
CalendarDate |
getExpires() |
List<Property> |
getProperties() |
List<Service> |
getServices() |
String |
getUriString() |
String |
getVersion() |
boolean |
hasService(String name) |
URI |
resolveUri(String uriString)
Resolve reletive URIs, using the catalog's base URI.
|
static URI |
resolveUri(URI baseURI,
String uriString) |
Catalog |
subsetCatalogOnDataset(Dataset dataset) |
findDatasetByName, get, getDatasets, getDatasetsLocal, getDatasetsLogical, getFldIterator, getLocalFieldAsList, getName, getParent, getParentCatalog, getParentDataset, hasNestedDatasets
public static final String CATALOG_NAMESPACE_10
public static final org.jdom2.Namespace defNS
public static final String NJ22_NAMESPACE
public static final String NJ22_NAMESPACE_HTTPS
public static final org.jdom2.Namespace ncmlNS
public static final org.jdom2.Namespace ncmlNSHttps
public static final String XLINK_NAMESPACE
public static final org.jdom2.Namespace xlinkNS
public static final org.jdom2.Namespace xsiNS
public static final String DatasetHash
public static final String DatasetRoots
public static final String Expires
public static final String Services
public static final String Version
public URI getBaseURI()
public CalendarDate getExpires()
public String getVersion()
public boolean hasService(String name)
public Service findService(ServiceType type)
public URI resolveUri(String uriString) throws URISyntaxException
uriString
- any url, reletive or absoluteURISyntaxException
- if uriString violates RFC 2396public static URI resolveUri(URI baseURI, String uriString) throws URISyntaxException
URISyntaxException
public String getUriString()