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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addToBody(RenderCommand element)` Used during the construction of the page.

- - ### Method Detail

    - #### 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.

5.6.1 - Copyright © 2003-2020 The Apache Software Foundation.