public class DomainClassMarshaller extends IncludeExcludePropertyMarshaller
Object marshaller for domain classes to XML
Modifiers | Name | Description |
---|---|---|
protected GrailsApplication |
application |
|
private java.util.List<DomainClassFetcher> |
domainClassFetchers |
|
protected boolean |
includeClass |
|
protected boolean |
includeVersion |
|
protected ProxyHandler |
proxyHandler |
Constructor and description |
---|
DomainClassMarshaller(GrailsApplication application) |
DomainClassMarshaller(boolean includeVersion, GrailsApplication application) |
DomainClassMarshaller(boolean includeVersion, ProxyHandler proxyHandler, GrailsApplication application) |
DomainClassMarshaller(boolean includeVersion, boolean includeClass, ProxyHandler proxyHandler, GrailsApplication application) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
asShortObject(java.lang.Object refObj, grails.converters.XML xml, org.grails.datastore.mapping.model.PersistentProperty idProperty, org.grails.datastore.mapping.model.PersistentEntity referencedDomainClass) |
|
private org.grails.datastore.mapping.model.PersistentEntity |
findDomainClass(java.lang.Object value) |
|
protected boolean |
isRenderDomainClassRelations() |
|
public void |
marshalObject(java.lang.Object value, grails.converters.XML xml) |
|
private boolean |
shouldInclude(IncludeExcludeSupport<java.lang.String> includeExcludeSupport, java.util.List<java.lang.String> includes, java.util.List<java.lang.String> excludes, java.lang.Object object, java.lang.String name) |
|
protected boolean |
shouldInitializeProxies() |
|
private boolean |
shouldInitializeProxy(java.lang.Object object) |
|
public boolean |
supports(java.lang.Object object) |
Methods inherited from class | Name |
---|---|
class IncludeExcludePropertyMarshaller |
excludesProperty, includesProperty, shouldInclude |