Class CombinedCodecIdentifier

java.lang.Object
org.grails.encoder.CombinedCodecIdentifier
All Implemented Interfaces:
CodecIdentifier

public class CombinedCodecIdentifier extends Object implements CodecIdentifier
  • Method Details

    • getCodecName

      public String getCodecName()
      Description copied from interface: CodecIdentifier
      Gets the unique name of the codec.
      Specified by:
      getCodecName in interface CodecIdentifier
      Returns:
      the codec name
    • getCodecAliases

      public Set<String> getCodecAliases()
      Description copied from interface: CodecIdentifier
      Gets the aliases for this codec. Aliases are used in registering "encodeAs*" and "decode*" metamethods in org.grails.commons.DefaultGrailsCodecClass
      Specified by:
      getCodecAliases in interface CodecIdentifier
      Returns:
      the codec aliases
    • isEquivalent

      public boolean isEquivalent(CodecIdentifier other)
      Description copied from interface: CodecIdentifier
      Checks if this codec is equivalent to some other codec
      Specified by:
      isEquivalent in interface CodecIdentifier
      Parameters:
      other - the CodecIdentifier of the other codec
      Returns:
      true, if is equivalent