Interface I_CmsResourceContainer

All Known Subinterfaces:
I_CmsXmlContentContainer
All Known Implementing Classes:
CmsJspTagContentLoad, CmsJspTagContentLoop, CmsJspTagResourceLoad

public interface I_CmsResourceContainer
Provides access to a CmsResource object that was previously loaded by a parent tag.

Since:
8.0
  • Method Details

    • getCollectorName

      Returns the name of the currently used resource collector.

      Returns:
      the name of the currently used resource collector
    • getCollectorParam

      Returns the parameters of the currently used resource collector.

      Returns:
      the parameters of the currently used resource collector
    • getCollectorResult

      Returns the list of all currently loaded resources (instances of CmsResource).

      Returns:
      the list of all currently loaded resources
    • getResource

      Returns the currently loaded resource.

      Returns:
      the currently loaded resource
    • getResourceName

      Returns the resource name in the VFS for the currently loaded resource.

      Returns:
      the resource name in the VFS for the currently loaded resource
    • hasMoreResources

      boolean hasMoreResources() throws javax.servlet.jsp.JspException
      Resource iteration method to be used by JSP scriptlet code.

      Calling this method will insert "direct edit" HTML to the output page (if required).

      Returns:
      true if more resources are to be iterated
      Throws:
      javax.servlet.jsp.JspException - in case something goes wrong
    • hasMoreContent

      @Deprecated boolean hasMoreContent() throws javax.servlet.jsp.JspException
      Deprecated.
      Resource iteration method to be used by JSP scriptlet code.

      Calling this method will insert "direct edit" HTML to the output page (if required).

      Returns:
      true if more resources are to be iterated
      Throws:
      javax.servlet.jsp.JspException - in case something goes wrong
    • isPreloader

      boolean isPreloader()
      Returns true if this container is used as a resource preloader.

      A resource preloader is used to load resources without looping through it.

      Returns:
      true if this container is used as a resource preloader