@Deprecated
public class ComponentInheritanceValueMap
extends com.day.cq.commons.inherit.ComponentInheritanceValueMap
InheritanceValueMap
for a given Resource
that will inherit values from
ancestors up to its ancestral component, but no higher.
For example, given: /content/parent/page/jcr:content/footer/image/@width
,
the ComponentInheritanceValueMap
will search for a width property in:
/content/parent/page/jcr:content/footer/image/@width
/content/parent/page/jcr:content/footer/@width
/content/parent/page/jcr:content/@width
null
.
Note that ComponentInheritanceValueMap
searches only the component
hierarchy. It will not (for instance), look in:
/content/parent/jcr:content/footer/image/@width
com.day.cq.commons.inherit.HierarchyNodeInheritanceValueMap
for that
functionality.Constructor and Description |
---|
ComponentInheritanceValueMap(Resource resource)
Deprecated.
|
public ComponentInheritanceValueMap(Resource resource)
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"