@Immutable public class Catalog extends DatasetNode
| Modifier and Type | Field and Description |
|---|---|
static String |
CATALOG_NAMESPACE_10 |
static org.jdom2.Namespace |
defNS |
static org.jdom2.Namespace |
ncmlNS |
static String |
NJ22_NAMESPACE |
static String |
XLINK_NAMESPACE |
static org.jdom2.Namespace |
xlinkNS |
static org.jdom2.Namespace |
xsiNS |
flds, name, parent| Constructor and Description |
|---|
Catalog(URI baseURI,
String name,
Map<String,Object> flds,
List<DatasetBuilder> datasets) |
| Modifier and Type | Method and Description |
|---|---|
Dataset |
findDatasetByID(String id) |
Service |
findService(String serviceName) |
URI |
getBaseURI() |
CalendarDate |
getExpires() |
List<Property> |
getProperties() |
List<Service> |
getServices() |
String |
getUriString() |
String |
getVersion() |
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, getDatasets, getFlds, getName, getParent, getParentCatalog, getParentDataset, hasNestedDatasetspublic static final String CATALOG_NAMESPACE_10
public static final org.jdom2.Namespace defNS
public static final String NJ22_NAMESPACE
public static final org.jdom2.Namespace ncmlNS
public static final String XLINK_NAMESPACE
public static final org.jdom2.Namespace xlinkNS
public static final org.jdom2.Namespace xsiNS
public URI getBaseURI()
public CalendarDate getExpires()
public String getVersion()
public URI resolveUri(String uriString) throws URISyntaxException
uriString - any url, reletive or absoluteURISyntaxException - if uriString violates RFC 2396URI.resolve(java.net.URI)public static URI resolveUri(URI baseURI, String uriString) throws URISyntaxException
URISyntaxExceptionpublic String getUriString()
Copyright © 1999-2015 UCAR/Unidata. All Rights Reserved.