Interface CmsContainerpageController.I_PageContentVisitor

All Known Implementing Classes:
CmsContainerpageController.PageStateVisitor, CmsContainerpageController.ReferenceCheckVisitor, CmsContainerpageController.SaveDataVisitor
Enclosing class:
CmsContainerpageController

Visitor interface used to process the current container content on the page.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    beginContainer(String name, org.opencms.ade.containerpage.shared.CmsContainer container)
    This method is called before a container is processed.
    void
    This method is called after all elements of a container have been processed.
    void
    This method is called for each element of a container.
  • Method Details

    • beginContainer

      boolean beginContainer(String name, org.opencms.ade.containerpage.shared.CmsContainer container)
      This method is called before a container is processed.

      If the method returns false, the container will be skipped.

      Parameters:
      name - the container name
      container - the container data object
      Returns:
      true if the container should be processed, true if it should be skipped
    • endContainer

      void endContainer()
      This method is called after all elements of a container have been processed.

    • handleElement

      This method is called for each element of a container.

      Parameters:
      element - the container element