Class EditLinkDecorator
- java.lang.Object
-
- net.anotheria.asg.util.decorators.EditLinkDecorator
-
- All Implemented Interfaces:
IAttributeDecorator
public class EditLinkDecorator extends java.lang.Object implements IAttributeDecorator
This decorator decorates the link to another object with the name property of the linked object.- Version:
- $Id: $Id
- Author:
- lrosenberg
-
-
Constructor Summary
Constructors Constructor Description EditLinkDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringdecorate(DataObject obj, java.lang.String attributeName, java.lang.String rule)Returns the decorated form.
-
-
-
Method Detail
-
decorate
public java.lang.String decorate(DataObject obj, java.lang.String attributeName, java.lang.String rule)
Returns the decorated form.- Specified by:
decoratein interfaceIAttributeDecorator- Parameters:
obj- target document.attributeName- name of the attribute for decoration.rule- evtl decoration rule (if configured in view definition file).- Returns:
- a
Stringobject.
-
-