|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.codehaus.groovy.grails.web.converters.Converterorg.codehaus.groovy.grails.web.converters.ConfigurableConverter
interface ConfigurableConverter extends Converter
Interface for converters that can be configured at runtime
Field Summary |
---|
Fields inherited from interface Converter | |
---|---|
DEFAULT_REQUEST_ENCODING |
Method Summary | |
---|---|
java.util.List
|
getExcludes(java.lang.Class type)
Gets the excludes for the given type |
java.util.List
|
getIncludes(java.lang.Class type)
Gets the includes for the given type |
void
|
setContentType(java.lang.String contentType)
Sets the content type of the converter |
void
|
setEncoding(java.lang.String encoding)
Sets the encoding of the converter |
void
|
setExcludes(java.lang.Class type, java.util.List properties)
Set to exclude properties for the given type |
void
|
setIncludes(java.lang.Class type, java.util.List properties)
Set to include properties for the given type |
Methods inherited from interface Converter | |
---|---|
build, convertAnother, getWriter, lookupObjectMarshaller, render, render |
Method Detail |
---|
java.util.List getExcludes(java.lang.Class type)
type
- The type
java.util.List getIncludes(java.lang.Class type)
type
- The type
void setContentType(java.lang.String contentType)
contentType
- The content type
void setEncoding(java.lang.String encoding)
encoding
- The encoding
void setExcludes(java.lang.Class type, java.util.List properties)
type
- The typeproperties
- The properties
void setIncludes(java.lang.Class type, java.util.List properties)
type
- The typeproperties
- The properties
Groovy Documentation