Class 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​(org.apache.sling.api.resource.Resource resource, com.adobe.granite.ui.components.ExpressionResolver expressionResolver, org.apache.sling.api.SlingHttpServletRequest request, String[] namespacedProperties)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 getValueMap()  
      Iterator<org.apache.sling.api.resource.Resource> listChildren()  
      • 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
    • Constructor Detail

      • NamespaceResourceWrapper

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

      • 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