Class CmsPointerLoader

    • Constructor Summary

      Constructor Description
      The constructor of the class is empty and does nothing.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addConfigurationParameter​(java.lang.String paramName, java.lang.String paramValue)
      Adds a configuration parameter to this parameter configurable class instance.
      void destroy()
      Destroy this ResourceLoder, this is a NOOP so far.
      byte[] dump​(CmsObject cms, CmsResource resource, java.lang.String element, java.util.Locale locale, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
      Dumps the processed content of the the requested file (and it's sub-elements) to a byte array.
      byte[] export​(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
      Static exports the contents of the requested file and it's sub-elements.
      CmsParameterConfiguration getConfiguration()
      Will always return null since this loader does not need to be cnofigured.
      int getLoaderId()
      Returns the id of the ResourceLoader.
      java.lang.String getResourceLoaderInfo()
      Return a String describing the ResourceLoader, which is (localized to the system default locale) "The OpenCms default resource loader for pointers".
      void initConfiguration()
      Initializes a configuration after all parameters have been added.
      static boolean isRequestParamSupportEnabled()
      Returns true if parameters in requests to pointer resources are appended to the target link when redirecting.
      boolean isStaticExportEnabled()
      Returns true if request parameter support is disabled.
      boolean isStaticExportProcessable()
      Signals if the loader implementation requires processing during static export of resources.
      boolean isUsableForTemplates()
      Signals if the loader implementation is usable for creating templates.
      boolean isUsingUriWhenLoadingTemplate()
      Signals if a loader that supports templates must be invoked on the template URI or the resource URI.
      void load​(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
      Basic top-page processing method for a I_CmsResourceLoader, this method is called if the page is called as a sub-element on a page not already loaded with a I_CmsResourceLoader.
      void service​(CmsObject cms, CmsResource file, javax.servlet.ServletRequest req, javax.servlet.ServletResponse res)
      Does the job of including the requested resource, this method is called directly if the element is called as a sub-element from another I_CmsResourceLoader.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait