Package com.luciad.format.metadata.model
Class ILcdMetadataDecoder.MetadataWithSource
java.lang.Object
com.luciad.format.metadata.model.ILcdMetadataDecoder.MetadataWithSource
- Enclosing interface:
ILcdMetadataDecoder
A
TLcdISO19115Metadata
paired with the metadata source file(s) from which the metadata was decoded.- Since:
- 2022.1
-
Constructor Summary
ConstructorDescriptionMetadataWithSource
(TLcdISO19115Metadata aMetadata, TLcdModelMetadata.Source aSource) Creates a newMetadataWithSource
instance for the given metadata and source file.MetadataWithSource
(TLcdISO19115Metadata aMetadata, List<TLcdModelMetadata.Source> aSources) Creates a newMetadataWithSource
instance for the given metadata and source file(s). -
Method Summary
Modifier and TypeMethodDescriptionReturns the decodedTLcdISO19115Metadata
.Returns the list of dedicated metadata files from which theTLcdISO19115Metadata
has been decoded.
-
Constructor Details
-
MetadataWithSource
Creates a newMetadataWithSource
instance for the given metadata and source file. TheaSource
parameter specifies the source file from which the metadata has been decoded. If the metadata is decoded from more than one source file, use theMetadataWithSource(TLcdISO19115Metadata, List)
constructor instead.- Parameters:
aMetadata
- the decodedTLcdISO19115Metadata
aSource
- the source file from which the metadata has been decoded
-
MetadataWithSource
Creates a newMetadataWithSource
instance for the given metadata and source file(s). TheaSource
parameter specifies a list of source files from which the metadata has been decoded.- Parameters:
aMetadata
- the decodedTLcdISO19115Metadata
aSources
- the source file(s) from which the metadata has been decoded
-
-
Method Details
-
getMetadata
Returns the decodedTLcdISO19115Metadata
.- Returns:
- the decoded
TLcdISO19115Metadata
, nevernull
.
-
getSources
Returns the list of dedicated metadata files from which theTLcdISO19115Metadata
has been decoded. Can be empty, but never null.The metadata returned by the
getMetadata()
method should be the result of calling theILcdMetadataDecoder.decodeMetadata(String)
method, passing one of these dedicated metadata files.- Returns:
- A list of metadata source files, can be empty, but never
null
.
-