org.apache.tapestry5.internal.util

## Class StringRenderable

- java.lang.Object
- - org.apache.tapestry5.internal.util.StringRenderable

- All Implemented Interfaces:
    Renderable

      public class StringRenderable
      extends Object
      implements Renderable

  Renders a string using `MarkupWriter.write(String)`.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StringRenderable(String text)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `render(MarkupWriter writer)`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### StringRenderable

          public StringRenderable(String text)

  - ### Method Detail

    - #### render

          public void render(MarkupWriter writer)

      Specified by:
        `render` in interface `Renderable`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.