@java.lang.SuppressWarnings("rawtypes") public class DefaultConverterConfiguration<C extends Converter> extends java.lang.Object implements ConverterConfiguration
Mutable Converter Configuration with an priority sorted set of ObjectMarshallers
Modifiers | Name | Description |
---|---|---|
class |
DefaultConverterConfiguration.Entry |
Modifiers | Name | Description |
---|---|---|
static int |
DEFAULT_PRIORITY |
|
private static java.util.concurrent.atomic.AtomicInteger |
MARSHALLER_SEQUENCE |
|
private boolean |
cacheObjectMarshallerByClass |
|
private CircularReferenceBehaviour |
circularReferenceBehaviour |
|
private ConverterConfiguration<C> |
delegate |
|
private java.lang.String |
encoding |
|
private java.util.SortedSet<Entry> |
objectMarshallers |
|
private boolean |
prettyPrint |
|
private ProxyHandler |
proxyHandler |
Constructor and description |
---|
DefaultConverterConfiguration() |
DefaultConverterConfiguration(ConverterConfiguration<C> delegate) |
DefaultConverterConfiguration(ProxyHandler proxyHandler) |
DefaultConverterConfiguration(ConverterConfiguration<C> delegate, ProxyHandler proxyHandler) |
DefaultConverterConfiguration(java.util.List<ObjectMarshaller<C>> oms) |
DefaultConverterConfiguration(java.util.List<ObjectMarshaller<C>> oms, ProxyHandler proxyHandler) |
Type Params | Return Type | Name and description |
---|---|---|
|
public CircularReferenceBehaviour |
getCircularReferenceBehaviour() |
|
public java.lang.String |
getEncoding() |
|
public ObjectMarshaller<C> |
getMarshaller(java.lang.Object o) |
|
public java.util.List<ObjectMarshaller<C>> |
getOrderedObjectMarshallers() |
|
public ProxyHandler |
getProxyHandler() |
|
public boolean |
isCacheObjectMarshallerByClass() |
|
public boolean |
isPrettyPrint() |
|
public void |
registerObjectMarshaller(ObjectMarshaller<C> marshaller) |
|
public void |
registerObjectMarshaller(ObjectMarshaller<C> 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 |
setCacheObjectMarshallerByClass(boolean cacheObjectMarshallerByClass) |
|
public void |
setCircularReferenceBehaviour(CircularReferenceBehaviour circularReferenceBehaviour) |
|
public void |
setEncoding(java.lang.String encoding) |
|
public void |
setPrettyPrint(boolean prettyPrint) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), 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() |