org.codehaus.groovy.grails.commons
Class DefaultGrailsCodecClass
java.lang.Object
org.codehaus.groovy.grails.commons.AbstractGrailsClass
org.codehaus.groovy.grails.commons.AbstractInjectableGrailsClass
org.codehaus.groovy.grails.commons.DefaultGrailsCodecClass
- All Implemented Interfaces:
- GrailsClass, GrailsCodecClass, InjectableGrailsClass
public class DefaultGrailsCodecClass
- extends AbstractInjectableGrailsClass
- implements GrailsCodecClass
- Since:
- 0.4
- Author:
- Jeff Brown
Methods inherited from class org.codehaus.groovy.grails.commons.AbstractGrailsClass |
getClazz, getFullName, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPropertyDescriptors, getPropertyName, getPropertyOrStaticPropertyOrFieldValue, getPropertyType, getPropertyValue, getPropertyValue, getPropertyValueObject, getReference, getReferenceInstance, getShortName, hasMetaMethod, hasMetaMethod, hasMetaProperty, hasProperty, isReadableProperty, newInstance, toString |
Methods inherited from interface org.codehaus.groovy.grails.commons.GrailsClass |
getClazz, getFullName, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPropertyName, getPropertyValue, getPropertyValue, getReference, getReferenceInstance, getShortName, hasProperty, newInstance |
CODEC
public static final String CODEC
- See Also:
- Constant Field Values
DefaultGrailsCodecClass
public DefaultGrailsCodecClass(Class clazz)
getDecodeMethod
public groovy.lang.Closure getDecodeMethod()
- Specified by:
getDecodeMethod
in interface GrailsCodecClass
- Returns:
- The decode closure
getEncodeMethod
public groovy.lang.Closure getEncodeMethod()
- Specified by:
getEncodeMethod
in interface GrailsCodecClass
- Returns:
- The encode closure
Copyright (c) 2005-2009 The Grails project