public static class ILfnCustomPropertyDecoder.CustomPropertiesWithSource extends Object
TLfnCustomProperty
collection paired with the additional source files from which they were decoded.
Custom properties can be decoded from two possible sources: the ISO metadata or additional source files. This
class not only holds the custom properties, it also contains a list of TLcdModelMetadata.Source
objects pointing to the additional source files used by the decoder. For custom properties decoded from the ISO
metadata, no additional source files are added. For custom properties stored inside additional files, the list
contains one TLcdModelMetadata.Source
object per additional source file.
Constructor and Description |
---|
CustomPropertiesWithSource(Collection<TLfnCustomProperty> aCustomProperties)
Creates a new
CustomPropertiesWithSource instance for the given TLfnCustomProperty collection. |
CustomPropertiesWithSource(Collection<TLfnCustomProperty> aCustomProperties,
List<TLcdModelMetadata.Source> aSources)
Creates a new
CustomPropertiesWithSource instance for the given TLfnCustomProperty collection and
given list of additional source files. |
Modifier and Type | Method and Description |
---|---|
Collection<TLfnCustomProperty> |
getCustomProperties()
Returns the collection of custom properties.
|
List<TLcdModelMetadata.Source> |
getSources()
Returns the list of additional source files from which the custom properties were decoded.
|
public CustomPropertiesWithSource(Collection<TLfnCustomProperty> aCustomProperties)
CustomPropertiesWithSource
instance for the given TLfnCustomProperty
collection.
The result has an empty list of additional source files.aCustomProperties
- the collection of custom propertiespublic CustomPropertiesWithSource(Collection<TLfnCustomProperty> aCustomProperties, List<TLcdModelMetadata.Source> aSources)
CustomPropertiesWithSource
instance for the given TLfnCustomProperty
collection and
given list of additional source files.aCustomProperties
- the collection of custom propertiesaSources
- the list of additional source filespublic Collection<TLfnCustomProperty> getCustomProperties()
public List<TLcdModelMetadata.Source> getSources()