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
ConstructorsConstructorDescriptionMetadataWithSource(TLcdISO19115Metadata aMetadata, TLcdModelMetadata.Source aSource) Creates a newMetadataWithSourceinstance for the given metadata and source file.MetadataWithSource(TLcdISO19115Metadata aMetadata, List<TLcdModelMetadata.Source> aSources) Creates a newMetadataWithSourceinstance for the given metadata and source file(s). -
Method Summary
Modifier and TypeMethodDescriptionReturns the decodedTLcdISO19115Metadata.Returns the list of dedicated metadata files from which theTLcdISO19115Metadatahas been decoded.
-
Constructor Details
-
MetadataWithSource
Creates a newMetadataWithSourceinstance for the given metadata and source file. TheaSourceparameter 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 decodedTLcdISO19115MetadataaSource- the source file from which the metadata has been decoded
-
MetadataWithSource
Creates a newMetadataWithSourceinstance for the given metadata and source file(s). TheaSourceparameter specifies a list of source files from which the metadata has been decoded.- Parameters:
aMetadata- the decodedTLcdISO19115MetadataaSources- 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 theTLcdISO19115Metadatahas 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.
-