Groovy Documentation

org.codehaus.groovy.grails.commons
[Java] Interface GrailsCodecClass

org.codehaus.groovy.grails.commons.GrailsClass
  org.codehaus.groovy.grails.commons.InjectableGrailsClass
      org.codehaus.groovy.grails.commons.GrailsCodecClass
All Superinterfaces:
GrailsClass, InjectableGrailsClass

public interface GrailsCodecClass
extends InjectableGrailsClass

Provides access to Codec classes. A Codec class one that ends in the convention "Codec" and provides encode and decode methods or closure properties.

Authors:
Jeff Brown
Since:
0.4


Method Summary
groovy.lang.Closure getDecodeMethod()

@return The decode closure

groovy.lang.Closure getEncodeMethod()

@return The encode closure

 
Methods inherited from interface InjectableGrailsClass
byName, byType, getAvailable
 
Methods inherited from interface GrailsClass
getClazz, getFullName, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPropertyName, getPropertyValue, getPropertyValue, getReference, getReferenceInstance, getShortName, hasProperty, newInstance
 

Method Detail

getDecodeMethod

public groovy.lang.Closure getDecodeMethod()
Returns:
The decode closure


getEncodeMethod

public groovy.lang.Closure getEncodeMethod()
Returns:
The encode closure


 

Groovy Documentation