Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.services
Interface ObjectRenderer<T>

All Known Implementing Classes:
  AvailableValuesRenderer, ComponentResourcesRenderer, DefaultObjectRenderer, EventContextRenderer, ListRenderer, LocationRenderer, ObjectArrayRenderer, RequestRenderer

    @UsesMappedConfiguration(key=java.lang.Class.class,
                             value=ObjectRenderer.class)
    public interface ObjectRenderer<T>

A strategy interface used for converting an object into markup that describes that object. This is primarily used in terms of an `ExceptionReporter` page.

The ObjectRenderer service (distinguished by the @`Primary` marker annotation) uses type-based matching to find a specific ObjectRenderer for any given type.

Method Summary
`void` | `render(T object, MarkupWriter writer)` Renders the object out as markup.

Method Detail

### render

    void render(T object,
                MarkupWriter writer)

  Renders the object out as markup.

  Parameters:
    `object` - to be rendered
    `writer` - to which output should be directed

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.