Package org.apache.tapestry5.internal.structure

# Interface BodyPageElement

All Known Subinterfaces:
  `ComponentPageElement`

All Known Implementing Classes:
  `BlockImpl`, `ComponentPageElementImpl`

public interface BodyPageElement
A type of page element that has a body that can be added to. This is part of the constuction phase that is faciliated by the `PageLoader`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addToBody(RenderCommand element)`
  Used during the construction of the page.

- ## Method Details

  - ### addToBody

    void addToBody(RenderCommand element)
    Used during the construction of the page. Adds a page element as part of the body of the component. The body of a component is defined as the portion of the container's template directly enclosed by component's start and end elements.