protected static final class MergingResourceProvider.ParentHidingHandler extends Object
Constructor and Description |
---|
ParentHidingHandler(org.apache.sling.api.resource.Resource parent,
boolean traverseParent) |
public ParentHidingHandler(org.apache.sling.api.resource.Resource parent, boolean traverseParent)
parent
- the underlying resourcetraverseParent
- if true will also continue with the parent's parent recursivelypublic boolean isHidden(String name, boolean isLocalResource)
name
- the name of the resource to checkisLocalResource
- true
if the check is on a local resource, false
if the check is on an underlying/inherited resourcetrue
if the local/inherited resource should be hidden, otherwise false
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.