O - type of data to decorate@Deprecated public class PropertyDecorator<O> extends Decorator<O>
String.format(String, Object...)
method.
To use it, give him a class and the property name to render.
For example :
Decorator<Object> d = DecoratorUtil.newPropertyDecorator(PropertyDecorator.class,"property");
Decorator,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected Method |
m
Deprecated.
|
protected String |
property
Deprecated.
name of property
|
| Modifier | Constructor and Description |
|---|---|
protected |
PropertyDecorator(Class<O> internalClass,
String property)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected Method |
getM()
Deprecated.
|
String |
getProperty()
Deprecated.
|
String |
toString(Object bean)
Deprecated.
|
getInternalClass, getTypeprotected String property
protected transient Method m
protected PropertyDecorator(Class<O> internalClass, String property) throws NullPointerException
NullPointerExceptionCopyright © 2004-2013 CodeLutin. All Rights Reserved.