|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.web.converters.configuration.DefaultConverterConfiguration
@SuppressWarnings("rawtypes") public class DefaultConverterConfiguration extends java.lang.Object
Mutable Converter Configuration with an priority sorted set of ObjectMarshallers
Nested Class Summary | |
---|---|
class |
DefaultConverterConfiguration.Entry
|
Field Summary | |
---|---|
static int |
DEFAULT_PRIORITY
|
Constructor Summary | |
DefaultConverterConfiguration()
|
|
DefaultConverterConfiguration(ConverterConfiguration delegate)
|
|
DefaultConverterConfiguration(ProxyHandler proxyHandler)
|
|
DefaultConverterConfiguration(ConverterConfiguration delegate, ProxyHandler proxyHandler)
|
|
DefaultConverterConfiguration(java.util.List oms)
|
|
DefaultConverterConfiguration(java.util.List oms, ProxyHandler proxyHandler)
|
Method Summary | |
---|---|
CircularReferenceBehaviour
|
getCircularReferenceBehaviour()
|
java.lang.String
|
getEncoding()
|
ObjectMarshaller
|
getMarshaller(java.lang.Object o)
|
java.util.List
|
getOrderedObjectMarshallers()
|
ProxyHandler
|
getProxyHandler()
|
boolean
|
isPrettyPrint()
|
void
|
registerObjectMarshaller(ObjectMarshaller marshaller)
|
void
|
registerObjectMarshaller(ObjectMarshaller marshaller, int priority)
|
void
|
registerObjectMarshaller(java.lang.Class c, int priority, groovy.lang.Closure callable)
|
void
|
registerObjectMarshaller(java.lang.Class c, groovy.lang.Closure callable)
|
void
|
setCircularReferenceBehaviour(CircularReferenceBehaviour circularReferenceBehaviour)
|
void
|
setEncoding(java.lang.String encoding)
|
void
|
setPrettyPrint(boolean prettyPrint)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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 |
---|
public static final int DEFAULT_PRIORITY
Constructor Detail |
---|
public DefaultConverterConfiguration()
public DefaultConverterConfiguration(ConverterConfiguration delegate)
public DefaultConverterConfiguration(ProxyHandler proxyHandler)
public DefaultConverterConfiguration(ConverterConfiguration delegate, ProxyHandler proxyHandler)
public DefaultConverterConfiguration(java.util.List oms)
public DefaultConverterConfiguration(java.util.List oms, ProxyHandler proxyHandler)
Method Detail |
---|
public CircularReferenceBehaviour getCircularReferenceBehaviour()
public java.lang.String getEncoding()
public ObjectMarshaller getMarshaller(java.lang.Object o)
public java.util.List getOrderedObjectMarshallers()
public ProxyHandler getProxyHandler()
public boolean isPrettyPrint()
public void registerObjectMarshaller(ObjectMarshaller marshaller)
public void registerObjectMarshaller(ObjectMarshaller marshaller, int priority)
public void registerObjectMarshaller(java.lang.Class c, int priority, groovy.lang.Closure callable)
public void registerObjectMarshaller(java.lang.Class c, groovy.lang.Closure callable)
public void setCircularReferenceBehaviour(CircularReferenceBehaviour circularReferenceBehaviour)
public void setEncoding(java.lang.String encoding)
public void setPrettyPrint(boolean prettyPrint)
Groovy Documentation