|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.groovy.grails.web.converters.configuration.ImmutableConverterConfiguration<C>
public class ImmutableConverterConfiguration<C extends Converter>
Immutable Converter Configuration.
ChainedConverterConfiguration| Field Summary | |
|---|---|
protected java.util.List<ObjectMarshaller<C>> |
marshallers
|
| Constructor Summary | |
|---|---|
ImmutableConverterConfiguration(ConverterConfiguration<C> cfg)
|
|
ImmutableConverterConfiguration(ConverterConfiguration<C> cfg,
org.codehaus.groovy.grails.support.proxy.ProxyHandler proxyHandler)
|
|
| Method Summary | |
|---|---|
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 |
isPrettyPrint()
Lookup method whether the converter should default to pretty printed output |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final java.util.List<ObjectMarshaller<C extends Converter>> marshallers
| Constructor Detail |
|---|
public ImmutableConverterConfiguration(ConverterConfiguration<C> cfg)
public ImmutableConverterConfiguration(ConverterConfiguration<C> cfg,
org.codehaus.groovy.grails.support.proxy.ProxyHandler proxyHandler)
| Method Detail |
|---|
public ObjectMarshaller<C> getMarshaller(java.lang.Object o)
ConverterConfiguration
getMarshaller in interface ConverterConfiguration<C extends Converter>o - the object which is about to be converted
ConverterConfiguration.getMarshaller(Object)public java.lang.String getEncoding()
ConverterConfiguration
getEncoding in interface ConverterConfiguration<C extends Converter>ConverterConfiguration.getEncoding()public Converter.CircularReferenceBehaviour getCircularReferenceBehaviour()
ConverterConfiguration
getCircularReferenceBehaviour in interface ConverterConfiguration<C extends Converter>ConverterConfiguration.getCircularReferenceBehaviour()public boolean isPrettyPrint()
ConverterConfiguration
isPrettyPrint in interface ConverterConfiguration<C extends Converter>ConverterConfiguration.isPrettyPrint()public java.util.List<ObjectMarshaller<C>> getOrderedObjectMarshallers()
ConverterConfiguration
getOrderedObjectMarshallers in interface ConverterConfiguration<C extends Converter>public org.codehaus.groovy.grails.support.proxy.ProxyHandler getProxyHandler()
ConverterConfiguration
getProxyHandler in interface ConverterConfiguration<C extends Converter>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||