Class ContentVisitor<T extends ResourceRunnable>


  • public class ContentVisitor<T extends ResourceRunnable>
    extends org.apache.sling.api.resource.AbstractResourceVisitor
    • Constructor Detail

      • ContentVisitor

        public ContentVisitor​(T runnable)
      • ContentVisitor

        public ContentVisitor​(T runnable,
                              String[] containerTypes,
                              String[] contentTypes)
    • Method Detail

      • accept

        public void accept​(org.apache.sling.api.resource.Resource resource)
        Overrides:
        accept in class org.apache.sling.api.resource.AbstractResourceVisitor
      • visit

        protected void visit​(org.apache.sling.api.resource.Resource resource)
        Specified by:
        visit in class org.apache.sling.api.resource.AbstractResourceVisitor