Interface IAttributeDecorator

  • All Known Implementing Classes:
    AbstractLinkDecorator, DateTimeDecorator, EditLinkDecorator, IDItoADecorator, ItoADecorator

    public interface IAttributeDecorator
    This 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 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 String object.