org.apache.tiles.request.jsp.autotag

## Class JspModelBody

- java.lang.Object
- - org.apache.tiles.autotag.core.runtime.AbstractModelBody
  - - org.apache.tiles.request.jsp.autotag.JspModelBody

- All Implemented Interfaces:
    ModelBody

      public class JspModelBody
      extends AbstractModelBody

  The body abstraction in a JSP tag.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JspModelBody(javax.servlet.jsp.tagext.JspFragment jspFragment, javax.servlet.jsp.JspContext jspContext)` Constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `evaluate(Writer writer)` Evaluates the body and writes the result in the writer.

    - ### Methods inherited from class org.apache.tiles.autotag.core.runtime.AbstractModelBody

      `evaluate, evaluateAsString, evaluateWithoutWriting`

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### JspModelBody

          public JspModelBody(javax.servlet.jsp.tagext.JspFragment jspFragment,
                              javax.servlet.jsp.JspContext jspContext)

      Constructor.
      Parameters:
        `jspFragment` - The real body.
        `jspContext` - The page context.

  - ### Method Detail

    - #### evaluate

          public void evaluate(Writer writer)
                        throws IOException

      Description copied from interface: `ModelBody`
      Evaluates the body and writes the result in the writer.
      Parameters:
        `writer` - The writer to write the result into.
      Throws:
        `IOException` - If something goes wrong.

Copyright © 2000–2024 Apache Software Foundation. All rights reserved.