public class InheritedMetadataManager
extends java.lang.Object
| Constructor and Description |
|---|
InheritedMetadataManager() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Vector<org.jdom.Element> |
getInheritedMetadata(java.lang.String catalogKey) |
static org.jdom.Element |
getInheritedServices(java.lang.String catalogKey) |
static boolean |
hasInheritedMetadata(java.lang.String catalogKey) |
static boolean |
hasInheritedServices(java.lang.String catalogKey) |
static void |
ingestInheritedMetadata(Catalog catalog)
Inspect a THREDDS Catalog object and add any datasetScan metadata whose 'inherited' attribute is set to true
into the inventory.
|
static void |
purgeInheritedMetadata(java.lang.String catalogKey)
Purge all of the inherited metadata in the inventory that was extracted from the catalog associated
with catalogKey.
|
public static void ingestInheritedMetadata(Catalog catalog) throws net.sf.saxon.s9api.SaxonApiException, java.io.IOException, org.jdom.JDOMException
catalog - The Catalog object to inspect.net.sf.saxon.s9api.SaxonApiException - When Saxon parsing fails.java.io.IOException - When reading a catalog fails.org.jdom.JDOMException - When JDOM parsing fails.public static void purgeInheritedMetadata(java.lang.String catalogKey)
catalogKey - The catalogKey of the catalog to purge.public static boolean hasInheritedMetadata(java.lang.String catalogKey)
public static boolean hasInheritedServices(java.lang.String catalogKey)
public static java.util.Vector<org.jdom.Element> getInheritedMetadata(java.lang.String catalogKey)
public static org.jdom.Element getInheritedServices(java.lang.String catalogKey)