Interface IAttributeDecorator
-
- All Known Implementing Classes:
AbstractLinkDecorator,DateTimeDecorator,EditLinkDecorator,IDItoADecorator,ItoADecorator
public interface IAttributeDecoratorThis interface declares an attribute decorator, which can be configured to be used by the generated ShowActions. The attribute decorator provides a string decoration for an object to produce a more readable form of attribute description, for example decorating link targets with names of the linked attributes.- Version:
- $Id: $Id
- Author:
- lrosenberg
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringdecorate(DataObject doc, java.lang.String attributeName, java.lang.String rule)Returns the decorated form.
-
-
-
Method Detail
-
decorate
java.lang.String decorate(DataObject doc, java.lang.String attributeName, java.lang.String rule)
Returns the decorated form.- Parameters:
doc- target document.attributeName- name of the attribute for decoration.rule- evtl decoration rule (if configured in view definition file).- Returns:
- a
Stringobject.
-
-