The
For this purpose, the additional methods
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
InheritanceValueMap
is an extension of the ValueMap
which allows to take 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 up on 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
No comments:
Post a Comment