com.bea.p13n.ad.render
Class ShockwaveContentProvider
java.lang.Object
com.bea.p13n.ad.render.ShockwaveContentProvider
- All Implemented Interfaces:
- AdContentProvider
- 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):
- ShowDocURI: The web-application scoped URI of the ShowDocServlet
(defaults to
"ShowDoc"
).
- obj.classid: Specifies the classid on the <object> tag. Defaults
to
clsid:D27CDB6E-AE6D-11cf-96B8-444553540000
.
- obj.codebase: Specifies the codebase on the <object> tag.
Defaults to
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0
.
- embed.pluginspage: Specifies the pluginspage on the <embed> tag.
Defaults to
http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShockwaveContentProvider
public ShockwaveContentProvider()
cnvrtSC
public static final String cnvrtSC(String s)
- Convert special characters.
- See Also:
AdHelper.toHTML(java.lang.String)
createParam
protected String createParam(String name,
String value)
- Create a tag with the specified name and value.
- Parameters:
name
- the name attributevalue
- the value attribute
renderContent
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.
- Specified by:
renderContent
in interface AdContentProvider
- Parameters:
identifier
- A long that is used to access the database recordservletBase
- The Web App root for the click thru servletheight
- The suggested heightwidth
- The suggested widthc
- The content element to render
- Throws:
AdContentException
Copyright © 2005 BEA Systems, Inc. All Rights Reserved