Class ALcyPreferencesPropertyConverter

java.lang.Object
com.luciad.lucy.util.properties.codec.ALcyWorkspacePropertyConverter
com.luciad.lucy.util.preferences.ALcyPreferencesPropertyConverter
All Implemented Interfaces:
ILcyPropertyConverter

public abstract class ALcyPreferencesPropertyConverter extends ALcyWorkspacePropertyConverter

Implementation of ALcyWorkspacePropertyConverter that retrieves the ALcyWorkspaceCodec from the TLcyPreferencesTool when it is encoding its workspace properties.

  • Constructor Details

    • ALcyPreferencesPropertyConverter

      protected ALcyPreferencesPropertyConverter(TLcyPreferencesTool aPreferencesTool)
  • Method Details

    • getWorkspaceCodec

      protected ALcyWorkspaceCodec getWorkspaceCodec()
      Description copied from class: ALcyWorkspacePropertyConverter

      Returns the current ALcyWorkspaceCodec.

      Note that implementations are discouraged to retrieve the workspace codec from the workspace manager of the Lucy backend, as it is not guaranteed that the workspace codec given to codec delegates and object codecs is the same as the workspace codec of the workspace manager of the Lucy backend. Instead the ALcyWorkspaceCodec should be the one that is passed to an ALcyWorkspaceObjectCodec or ALcyWorkspaceCodecDelegate.

      Specified by:
      getWorkspaceCodec in class ALcyWorkspacePropertyConverter
      Returns:
      The ALcyWorkspaceCodec to pass to convertBeforeEncode and convertAfterDecode.