com.ibm.portal.wcm.plr
Interface AttributeValueProcessor
- All Superinterfaces:
- Disposable
public interface AttributeValueProcessor
- extends Disposable
This interface can be implemented to realize a custom processor that processes the value of a named attribute of a ResourceBean
.
Instances of this processor will be disposed by calling Disposable.dispose()
once the object is no longer used.
- Since:
- 8.5.0.0 CF03
- Note:
This interface is designed to be implemented by clients. |
Method Summary |
java.lang.Object |
process(java.lang.String attributeName,
java.lang.Object value)
Process the value of a named attribute of a ResourceBean . |
process
java.lang.Object process(java.lang.String attributeName,
java.lang.Object value)
throws AttributeValueProcessorException
- Process the value of a named attribute of a
ResourceBean
.
- Parameters:
attributeName
- The name of the attribute of a ResourceBean
value
- The value of the named attribute (of type String
, String[], Date
, or Calendar
).
The value might be null
.
- Returns:
- The processed value of the attribute.
- Throws:
AttributeValueProcessorException
- If processing the attribute value failed