public abstract class AbstractConverter extends java.lang.Object
Abstract base implementation of the Converter interface that provides a default toString() implementation.
Modifiers | Name | Description |
---|---|---|
protected java.lang.String |
contentType |
|
protected java.lang.String |
encoding |
|
protected java.util.Map<java.lang.Class, java.util.List<java.lang.String>> |
excludes |
|
protected java.util.Map<java.lang.Class, java.util.List<java.lang.String>> |
includes |
Type Params | Return Type | Name and description |
---|---|---|
|
protected org.springframework.beans.BeanWrapper |
createBeanWrapper(java.lang.Object o) |
|
java.util.List<java.lang.String> |
getExcludes(java.lang.Class type) Gets the excludes for the given type |
|
java.util.List<java.lang.String> |
getIncludes(java.lang.Class type) Gets the includes for the given type |
|
void |
setContentType(java.lang.String contentType) Sets the content type of the converter |
|
void |
setEncoding(java.lang.String encoding) Sets the encoding of the converter |
|
void |
setExcludes(java.lang.Class type, java.util.List<java.lang.String> properties) Set to exclude properties for the given type |
|
void |
setIncludes(java.lang.Class type, java.util.List<java.lang.String> properties) Set to include properties for the given type |
|
void |
setTarget(java.lang.Object target) |
|
java.lang.String |
toString() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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() |
Gets the excludes for the given type
type
- The typeGets the includes for the given type
type
- The typeSets the content type of the converter
contentType
- The content typeSets the encoding of the converter
encoding
- The encodingSet to exclude properties for the given type
type
- The typeproperties
- The propertiesSet to include properties for the given type
type
- The typeproperties
- The properties