Package com.luciad.format.s57
Class TLcdS57ProductConfiguration
java.lang.Object
com.luciad.format.s57.TLcdS57ProductConfiguration
An S-57 product configuration contains all domain model information for one specific S-57
product
type. It provides access to the data model, class maps and description maps of that product
type.
In addition, it also provides convenience factory methods for creation of preconfigured S-57
decoders and catalogue decoders.
Use getInstance(com.luciad.format.s57.ELcdS57ProductType)
to obtain the S-57 product configuration for a specific product type.
- Since:
- 11.0
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new, ready-to-use catalogue model decoder for this product configuration.Creates a new, ready-to-use composite model decoder for this product configuration.Creates a new, ready-to-use model decoder for this product configuration.Creates a new, ready-to-use model encoder for this product configuration.Returns the S-57 attribute class description map for this product configuration.Returns the S-57 attribute class map for this product configuration.Returns the data model for this product configuration.static TLcdS57ProductConfiguration
getInstance
(ELcdS57ProductType aProductType) Get a S-57 product configuration for the specified S-57 product type.Returns the S-57 object class description map for this product configuration.Returns the S-57 object class map for this product configuration.Returns the S-57 product type of this configuration.static TLcdS57ProductConfiguration
newInstance
(ELcdS57ProductType aProductType) Deprecated.
-
Method Details
-
newInstance
public static TLcdS57ProductConfiguration newInstance(ELcdS57ProductType aProductType) throws IOException Deprecated.Since the returned instance is immutable, you can usegetInstance(com.luciad.format.s57.ELcdS57ProductType)
instead (since 2013.1)Creates a new S-57 product configuration instance for the specified S-57 product type.- Parameters:
aProductType
- an S-57 product type.- Returns:
- an S-57 product configuration for the specified product type.
- Throws:
IOException
- If an error occurred while loading the product type's resources.
-
getInstance
Get a S-57 product configuration for the specified S-57 product type.- Parameters:
aProductType
- an S-57 product type.- Returns:
- an S-57 product configuration for the specified product type.
- Throws:
IllegalStateException
- If an error occurred while loading the product type's resources.- Since:
- 2013.1
-
getProductType
Returns the S-57 product type of this configuration.- Returns:
- the S-57 product type of this configuration.
- See Also:
-
getObjectClassMap
Returns the S-57 object class map for this product configuration.- Returns:
- the S-57 object class map for this product configuration.
-
getAttributeClassMap
Returns the S-57 attribute class map for this product configuration.- Returns:
- the S-57 attribute class map for this product configuration.
-
getObjectClassDescriptionMap
Returns the S-57 object class description map for this product configuration.- Returns:
- the S-57 object class description map for this product configuration.
-
getAttributeClassDescriptionMap
Returns the S-57 attribute class description map for this product configuration.- Returns:
- the S-57 attribute class description map for this product configuration.
-
getDataModel
Returns the data model for this product configuration.- Returns:
- the data model for this product configuration.
-
createCompositeModelDecoder
Creates a new, ready-to-use composite model decoder for this product configuration. The decoder can handle both individual ENC cells and ENC catalogues.- Returns:
- a new, ready-to-use model decoder for this product configuration.
-
createModelDecoder
Creates a new, ready-to-use model decoder for this product configuration.- Returns:
- a new, ready-to-use model decoder for this product configuration.
-
createModelEncoder
Creates a new, ready-to-use model encoder for this product configuration.- Returns:
- a new, ready-to-use model encoder for this product configuration.
-
createCatalogueModelDecoder
Creates a new, ready-to-use catalogue model decoder for this product configuration.- Returns:
- a new, ready-to-use catalogue model decoder for this product configuration.
-
getInstance(com.luciad.format.s57.ELcdS57ProductType)
instead (since 2013.1)