Class TLcdS57ProductConfiguration

java.lang.Object
com.luciad.format.s57.TLcdS57ProductConfiguration

public class TLcdS57ProductConfiguration extends Object
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 Details

    • newInstance

      public static TLcdS57ProductConfiguration newInstance(ELcdS57ProductType aProductType) throws IOException
      Deprecated.
      Since the returned instance is immutable, you can use getInstance(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

      public static TLcdS57ProductConfiguration getInstance(ELcdS57ProductType aProductType)
      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

      public ELcdS57ProductType getProductType()
      Returns the S-57 product type of this configuration.
      Returns:
      the S-57 product type of this configuration.
      See Also:
    • getObjectClassMap

      public TLcdS57ObjectClassMap getObjectClassMap()
      Returns the S-57 object class map for this product configuration.
      Returns:
      the S-57 object class map for this product configuration.
    • getAttributeClassMap

      public TLcdS57AttributeClassMap getAttributeClassMap()
      Returns the S-57 attribute class map for this product configuration.
      Returns:
      the S-57 attribute class map for this product configuration.
    • getObjectClassDescriptionMap

      public TLcdS57ObjectClassDescriptionMap 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

      public TLcdS57AttributeClassDescriptionMap 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

      public TLcdDataModel getDataModel()
      Returns the data model for this product configuration.
      Returns:
      the data model for this product configuration.
    • createCompositeModelDecoder

      public ILcdModelDecoder 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

      public TLcdS57ModelDecoder 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

      public TLcdS57ModelEncoder 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

      public TLcdS57CatalogueModelDecoder 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.