Package thredds.client.catalog
Class ThreddsMetadata
- java.lang.Object
-
- thredds.client.catalog.ThreddsMetadata
-
- All Implemented Interfaces:
ThreddsMetadataContainer
public class ThreddsMetadata extends Object implements ThreddsMetadataContainer
Thredds Metadata. Immutable after calling finish.- See Also:
- THREDDS METADATA
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ThreddsMetadata.Contributor
Metadata Contributor type, named roles for a dataset.static class
ThreddsMetadata.GeospatialCoverage
Metadata GeospatialCoverage type, the x/y/z bounding boxes of a dataset.static class
ThreddsMetadata.GeospatialRange
Metadata GeospatialCoverage range (x,y, or z).static class
ThreddsMetadata.MetadataOther
The metadata element contains or refers to structured information (in XML) about datasets.static class
ThreddsMetadata.Source
Metadata Source type, used by publisher and creator elements.static class
ThreddsMetadata.UriResolved
A resource reference that has been resolved to a URI.static class
ThreddsMetadata.Variable
The variables (aka fields or parameters) that are available in the dataset.static class
ThreddsMetadata.VariableGroup
A group of variables from the same vocabulary.static class
ThreddsMetadata.Vocab
Text with an optional "vocabulary" attribute.
-
Constructor Summary
Constructors Constructor Description ThreddsMetadata()
ThreddsMetadata(ThreddsMetadata from)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToList(String fldName, Object fldValue)
void
finish()
Iterable<Map.Entry<String,Object>>
getFldIterator()
Map<String,Object>
getFlds()
Object
getLocalField(String fldName)
List<Object>
getLocalFieldAsList(String fldName)
boolean
isImmutable()
void
set(String fldName, Object fldValue)
-
-
-
Constructor Detail
-
ThreddsMetadata
public ThreddsMetadata()
-
ThreddsMetadata
public ThreddsMetadata(ThreddsMetadata from)
-
-
Method Detail
-
finish
public void finish()
-
isImmutable
public boolean isImmutable()
-
getLocalField
public Object getLocalField(String fldName)
- Specified by:
getLocalField
in interfaceThreddsMetadataContainer
-
getLocalFieldAsList
public List<Object> getLocalFieldAsList(String fldName)
- Specified by:
getLocalFieldAsList
in interfaceThreddsMetadataContainer
-
-