|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.grails.web.converters.marshaller.IncludeExcludePropertyMarshaller
public abstract class IncludeExcludePropertyMarshaller extends java.lang.Object
A marshaller capable of including or excluding properties
Method Summary | |
---|---|
protected boolean
|
excludesProperty(java.lang.Object object, java.lang.String property)
Override for custom exclude logic |
protected boolean
|
includesProperty(java.lang.Object object, java.lang.String property)
Override for custom include logic |
protected boolean
|
shouldInclude(java.lang.Object object, java.lang.String propertyName)
|
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() |
Method Detail |
---|
protected boolean excludesProperty(java.lang.Object object, java.lang.String property)
object
- The objectproperty
- The property
protected boolean includesProperty(java.lang.Object object, java.lang.String property)
object
- The objectproperty
- The property
protected boolean shouldInclude(java.lang.Object object, java.lang.String propertyName)
Groovy Documentation