|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.grails.web.converters.AbstractConverter
public abstract class AbstractConverter extends java.lang.Object
Abstract base implementation of the Converter interface that provides a default toString() implementation.
Field Summary | |
---|---|
protected java.lang.String |
contentType
|
protected java.lang.String |
encoding
|
protected java.util.Map |
excludes
|
protected java.util.Map |
includes
|
Method Summary | |
---|---|
protected org.springframework.beans.BeanWrapper
|
createBeanWrapper(java.lang.Object o)
|
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 |
void
|
setTarget(java.lang.Object target)
|
java.lang.String
|
toString()
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
protected java.lang.String contentType
protected java.lang.String encoding
protected java.util.Map excludes
protected java.util.Map includes
Method Detail |
---|
protected org.springframework.beans.BeanWrapper createBeanWrapper(java.lang.Object o)
@java.lang.Override public java.util.List getExcludes(java.lang.Class type)
type
- The type
@java.lang.Override public java.util.List getIncludes(java.lang.Class type)
type
- The type
@java.lang.Override public void setContentType(java.lang.String contentType)
contentType
- The content type
@java.lang.Override public void setEncoding(java.lang.String encoding)
encoding
- The encoding
@java.lang.Override public void setExcludes(java.lang.Class type, java.util.List properties)
type
- The typeproperties
- The properties
@java.lang.Override public void setIncludes(java.lang.Class type, java.util.List properties)
type
- The typeproperties
- The properties
public void setTarget(java.lang.Object target)
@java.lang.Override public java.lang.String toString()
Groovy Documentation