# com.bea.ide.jspdesigner
Renderer Class

public abstract class Renderer
extends `Object`

Base class for specifying the HTML to be used to represent JSP tags. Tag library authors can specify custom tag renderers to provide richer output for their tags in the JSP Designer's design mode. To implement a custom tag renderer derive a class from Renderer and implement the `writeTag` method. Then provide the name of the class to the JSP Designer using the <renderer> TLDX element associated with your JSP tag as follows:

     <taglib>
         <uri>http://www.foo.com/mytags</uri>
         <palettegenerator>com.foo.MyPaletteGenerator</palettegenerator>
         <tag>
             <name>declarePageInput</name>
             <renderer>com.foo.MyRendererClass</renderer>
             <attribute>
                 <name>type</name>
             </attribute>
         </tag>
     </taglib>

Related Topics

``IHTMLWriter``

Hierarchy
  `Object`
  `Renderer`

## Constructor Summary

Renderer() Default constructor.

## Method Summary

`public abstract void` | `writeTag`(`IHTMLWriter` writer, `IDOMNode` node) Method called to render the tag as HTML.

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Constructor Detail

### Renderer

    public Renderer()

  Default constructor.

## Method Detail

### writeTag(IHTMLWriter, IDOMNode) Method

    public abstract void writeTag(IHTMLWriter writer,
                                  IDOMNode node)

Method called to render the tag as HTML. Tag authors must use the `IHTMLWriter``` interface to output their tag's respective HTML.

#### Parameters

writer
  HTML output writer.

node
  DOM node to render as HTML.

Related Topics

``IHTMLWriter``