public static class ILcdMetadataDecoder.MetadataWithSource extends Object
TLcdISO19115Metadata
paired with the metadata source file(s) from which the metadata was decoded.Constructor and Description |
---|
MetadataWithSource(TLcdISO19115Metadata aMetadata,
List<TLcdModelMetadata.Source> aSources)
Creates a new
MetadataWithSource instance for the given metadata and source file(s). |
MetadataWithSource(TLcdISO19115Metadata aMetadata,
TLcdModelMetadata.Source aSource)
Creates a new
MetadataWithSource instance for the given metadata and source file. |
Modifier and Type | Method and Description |
---|---|
TLcdISO19115Metadata |
getMetadata()
Returns the decoded
TLcdISO19115Metadata . |
List<TLcdModelMetadata.Source> |
getSources()
Returns the list of dedicated metadata files from which the
TLcdISO19115Metadata has been decoded. |
public MetadataWithSource(TLcdISO19115Metadata aMetadata, TLcdModelMetadata.Source aSource)
MetadataWithSource
instance for the given metadata and source file. The aSource
parameter specifies the source file from which the metadata has been decoded. If the metadata is decoded from
more than one source file, use the MetadataWithSource(TLcdISO19115Metadata, List)
constructor instead.aMetadata
- the decoded TLcdISO19115Metadata
aSource
- the source file from which the metadata has been decodedpublic MetadataWithSource(TLcdISO19115Metadata aMetadata, List<TLcdModelMetadata.Source> aSources)
MetadataWithSource
instance for the given metadata and source file(s). The aSource
parameter specifies a list of source files from which the metadata has been decoded.aMetadata
- the decoded TLcdISO19115Metadata
aSources
- the source file(s) from which the metadata has been decodedpublic TLcdISO19115Metadata getMetadata()
TLcdISO19115Metadata
.TLcdISO19115Metadata
, never null
.public List<TLcdModelMetadata.Source> getSources()
TLcdISO19115Metadata
has been decoded.
Can be empty, but never null.
The metadata returned by the getMetadata()
method should be the result of calling the
ILcdMetadataDecoder.decodeMetadata(String)
method, passing one of these dedicated metadata files.
null
.