ShockwaveContentProvider Class

com.bea.p13n.ad.render
ShockwaveContentProvider Class

public class ShockwaveContentProvider

    extends Object
    implements AdContentProvider

A class that provides XHTML rendering for shockwave content.

This will respond to the following AdContentProvider properties (specified in the configuration):


Hierarchy
Object
  ShockwaveContentProvider
All Implemented Interfaces

AdContentProvider

Constructor Summary

ShockwaveContentProvider()

 

Method Summary

public static final String
cnvrtSC(String s)
Convert special characters.
protected String
createParam(String name, String value)
Create a tag with the specified name and value.
public String
renderContent(Node c, long identifier, String servletBase, int height, int width, int options)
Return the XHTML content for the specified content.
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface com.bea.p13n.ad.AdContentProvider
renderContent
 

Constructor Detail

ShockwaveContentProvider

public ShockwaveContentProvider()
 

Method Detail

cnvrtSC(String) Method

public static final String cnvrtSC(String s)
Convert special characters.

Related Topics

AdHelper.toHTML(String)


createParam(String, String) Method

protected String createParam(String name, 
                             String value)
Create a tag with the specified name and value.

Parameters

name
the name attribute
value
the value attribute

renderContent(Node, long, String, int, int, int) Method

public String renderContent(Node c, 
                            long identifier, 
                            String servletBase, 
                            int height, 
                            int width, 
                            int options)
throws AdContentException
Return the XHTML content for the specified content.

Parameters

c
The content element to render
identifier
A long that is used to access the database record
servletBase
The Web App root for the click thru servlet
height
The suggested height
width
The suggested width
options
The options for the rendering

Exceptions

AdContentException