public interface ConverterConfiguration<C extends Converter>
| Modifier and Type | Method and Description |
|---|---|
Converter.CircularReferenceBehaviour |
getCircularReferenceBehaviour()
Lookup the configured CircularReferenceBehaviour (how the converter should behave when a circular reference is detected)
|
java.lang.String |
getEncoding()
Lookup the configured default Character encoding for the Converter
|
ObjectMarshaller<C> |
getMarshaller(java.lang.Object o)
Lookup the ObjectMarshaller with the highest priority that support to marshall the given object
|
java.util.List<ObjectMarshaller<C>> |
getOrderedObjectMarshallers()
Retrieve the ordered list of ObjectMarshallers
|
org.codehaus.groovy.grails.support.proxy.ProxyHandler |
getProxyHandler()
Lookup the ProxyHandler used to deal with proxies instances.
|
boolean |
isCacheObjectMarshallerByClass()
Enables caching object marshaller selection by class.
|
boolean |
isPrettyPrint()
Lookup method whether the converter should default to pretty printed output
|
org.codehaus.groovy.grails.support.proxy.ProxyHandler getProxyHandler()
ObjectMarshaller<C> getMarshaller(java.lang.Object o)
o - the object which is about to be convertedjava.lang.String getEncoding()
Converter.CircularReferenceBehaviour getCircularReferenceBehaviour()
Converter.CircularReferenceBehaviourboolean isPrettyPrint()
java.util.List<ObjectMarshaller<C>> getOrderedObjectMarshallers()
boolean isCacheObjectMarshallerByClass()