Groovy Documentation

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

org.codehaus.groovy.grails.plugins.support.aware.GrailsApplicationAware
  org.codehaus.groovy.grails.commons.InjectableGrailsClass
      org.codehaus.groovy.grails.commons.GrailsCodecClass
          org.codehaus.groovy.grails.commons.GrailsClass
All Superinterfaces:
GrailsApplicationAware, InjectableGrailsClass, GrailsClass

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, getGrailsApplication, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPropertyName, getPropertyValue, getPropertyValue, getReference, getReferenceInstance, getShortName, hasProperty, isAbstract, newInstance
 
Methods inherited from interface GrailsApplicationAware
setGrailsApplication
 

Method Detail

getDecodeMethod

@SuppressWarnings("rawtypes")
public groovy.lang.Closure getDecodeMethod()
Returns:
The decode closure


getEncodeMethod

@SuppressWarnings("rawtypes")
public groovy.lang.Closure getEncodeMethod()
Returns:
The encode closure


 

Groovy Documentation