public abstract class AbstractConverter<W> extends Object implements ConfigurableConverter, Writable
Abstract base implementation of the Converter interface that provides a default toString() implementation.
Type Params | Return Type | Name and description |
---|---|---|
|
protected BeanWrapper |
createBeanWrapper(Object o) |
|
public List<String> |
getExcludes(Class type) Gets the excludes for the given type |
|
public List<String> |
getIncludes(Class type) Gets the includes for the given type |
|
public void |
setContentType(String contentType) Sets the content type of the converter |
|
public void |
setEncoding(String encoding) Sets the encoding of the converter |
|
public void |
setExcludes(Class type, List<String> properties) Set to exclude properties for the given type |
|
public void |
setIncludes(Class type, List<String> properties) Set to include properties for the given type |
|
public abstract void |
setTarget(Object target) |
|
public String |
toString() |
|
public Writer |
writeTo(Writer out) |
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