Package org.grails.encoder
Class CombinedCodecIdentifier
java.lang.Object
org.grails.encoder.CombinedCodecIdentifier
- All Implemented Interfaces:
CodecIdentifier
-
Method Summary
Modifier and TypeMethodDescriptionGets the aliases for this codec.Gets the unique name of the codec.booleanisEquivalent(CodecIdentifier other) Checks if this codec is equivalent to some other codec
-
Method Details
-
getCodecName
Description copied from interface:CodecIdentifierGets the unique name of the codec.- Specified by:
getCodecNamein interfaceCodecIdentifier- Returns:
- the codec name
-
getCodecAliases
Description copied from interface:CodecIdentifierGets the aliases for this codec. Aliases are used in registering "encodeAs*" and "decode*" metamethods in org.grails.commons.DefaultGrailsCodecClass- Specified by:
getCodecAliasesin interfaceCodecIdentifier- Returns:
- the codec aliases
-
isEquivalent
Description copied from interface:CodecIdentifierChecks if this codec is equivalent to some other codec- Specified by:
isEquivalentin interfaceCodecIdentifier- Parameters:
other- the CodecIdentifier of the other codec- Returns:
- true, if is equivalent
-