May 3, 2020
Estimated Post Reading Time ~

ValueMap and his friends

The InheritanceValueMap is an extension of the ValueMap which allows taking the hierarchy of resources into account while looking for properties. As such, if a property is not found on the current resource, it will be looked upon by its parent and so on. The exact inheritance mechanism depends on the implementation.

For this purpose, the additional methods getInherited(String, Class) and getInherited(String, Object) are added to the ValueMap interface.

Refer the below URLs:
http://experiencedelivers.adobe.com/cemblog/en/experiencedelivers/2013/02/valuemap-and-his-friend.html

http://labs.sixdimensions.com/blog/2012-07-23/good-know-inheritancevaluemap/?goback=%25252Egde_2397256_member_137623130#.UA3NuzGe6qx

http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/commons/inherit/InheritanceValueMap.html

http://experiencedelivers.adobe.com/cemblog/en/experiencedelivers/2012/06/basic-cq5-code-samples.html


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.