Class NamespaceResourceWrapper

java.lang.Object
org.apache.sling.api.resource.ResourceWrapper
com.adobe.granite.ui.components.FilteringResourceWrapper
com.adobe.acs.commons.granite.ui.components.impl.include.NamespaceResourceWrapper
All Implemented Interfaces:
org.apache.sling.api.adapter.Adaptable, org.apache.sling.api.resource.Resource

public class NamespaceResourceWrapper extends com.adobe.granite.ui.components.FilteringResourceWrapper
  • Field Summary

    Fields inherited from interface org.apache.sling.api.resource.Resource

    RESOURCE_TYPE_NON_EXISTING
  • Constructor Summary

    Constructors
    Constructor
    Description
    NamespaceResourceWrapper(@NotNull org.apache.sling.api.resource.Resource resource, @NotNull com.adobe.granite.ui.components.ExpressionResolver expressionResolver, @NotNull org.apache.sling.api.SlingHttpServletRequest request, String[] namespacedProperties, boolean copyToplevelProperties)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <AdapterType>
    AdapterType
    adaptTo(Class<AdapterType> type)
     
    org.apache.sling.api.resource.Resource
    getChild(String relPath)
     
    org.apache.sling.api.resource.ValueMap
     
    Iterator<org.apache.sling.api.resource.Resource>
     

    Methods inherited from class com.adobe.granite.ui.components.FilteringResourceWrapper

    getChildren, getResourceType, hasChildren

    Methods inherited from class org.apache.sling.api.resource.ResourceWrapper

    getName, getParent, getPath, getResource, getResourceMetadata, getResourceResolver, getResourceSuperType, isResourceType, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • NamespaceResourceWrapper

      public NamespaceResourceWrapper(@NotNull @NotNull org.apache.sling.api.resource.Resource resource, @NotNull @NotNull com.adobe.granite.ui.components.ExpressionResolver expressionResolver, @NotNull @NotNull org.apache.sling.api.SlingHttpServletRequest request, String[] namespacedProperties, boolean copyToplevelProperties)
  • Method Details

    • getChild

      public org.apache.sling.api.resource.Resource getChild(String relPath)
      Specified by:
      getChild in interface org.apache.sling.api.resource.Resource
      Overrides:
      getChild in class com.adobe.granite.ui.components.FilteringResourceWrapper
    • listChildren

      public Iterator<org.apache.sling.api.resource.Resource> listChildren()
      Specified by:
      listChildren in interface org.apache.sling.api.resource.Resource
      Overrides:
      listChildren in class com.adobe.granite.ui.components.FilteringResourceWrapper
    • adaptTo

      public <AdapterType> AdapterType adaptTo(Class<AdapterType> type)
      Specified by:
      adaptTo in interface org.apache.sling.api.adapter.Adaptable
      Overrides:
      adaptTo in class org.apache.sling.api.resource.ResourceWrapper
    • getValueMap

      public org.apache.sling.api.resource.ValueMap getValueMap()
      Specified by:
      getValueMap in interface org.apache.sling.api.resource.Resource
      Overrides:
      getValueMap in class org.apache.sling.api.resource.ResourceWrapper