O - type of data to decoratepublic 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 |
protected String |
property
name of property
|
| Modifier | Constructor and Description |
|---|---|
protected |
PropertyDecorator(Class<O> internalClass,
String property) |
protected PropertyDecorator(Class<O> internalClass, String property) throws NullPointerException
NullPointerExceptionCopyright © 2013–2015 CodeLutin. All rights reserved.