public interface ILcdMetadataDecoder
TLcdISO19139MetadataDecoder is an implementation of this interface which
allows decoding ISO-19115 metadata from an ISO-19139 XML source.
This interface is typically also implemented by a model decoder, in which case the model decoder is capable of decoding just the metadata from the model's source name without having to decode the whole model itself. Most formats already have a lot of the metadata information contained in the header, which is then decoded and represented as an ISO-19115 metadata object.
|Modifier and Type||Method and Description|
Tells whether this metadata decoder can likely decode metadata for a given source name.
Decodes the metadata from a given source name as an ISO-19115 metadata object.
boolean canDecodeMetadata(java.lang.String aSourceName)
aSourceName- the source name to decode metadata for
trueif this metadata decoder can decode metadata for the given source name,
TLcdISO19115Metadata decodeMetadata(java.lang.String aSourceName) throws java.io.IOException
nullindicates that this decoder could not decode the given source name.
Note that even if
true, this method may yet return
aSourceName- the source name to decode metadata from
nullif this decoder does not support the source name