|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.p13n.ad.render.ShockwaveContentProvider
public class ShockwaveContentProvider
A class that provides XHTML rendering for shockwave content.
This will respond to the following AdContentProvider properties (specified in the configuration):
"ShowDoc"
).
clsid:D27CDB6E-AE6D-11cf-96B8-444553540000
.
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0
.
http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash
.
Field Summary |
---|
Fields inherited from interface com.bea.p13n.ad.AdRenderableContentProvider |
---|
VERSION_ID |
Fields inherited from interface com.bea.p13n.ad.AdContentProvider |
---|
NEW_WINDOW, NEW_WINDOW_TYPE, PREVIEW |
Constructor Summary | |
---|---|
ShockwaveContentProvider()
|
Method Summary | |
---|---|
static String |
cnvrtSC(String s)
Convert special characters. |
protected String |
createParam(String name,
String value)
Create a tag with the specified name and value. |
String |
renderContent(Node c,
long identifier,
String servletBase,
int height,
int width,
int options)
Deprecated |
String |
renderContent(RenderableContent content,
long identifier,
String servletBase,
int height,
int width,
int options)
Return the XHTML content for the specified content. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShockwaveContentProvider()
Method Detail |
---|
public String renderContent(Node c, long identifier, String servletBase, int height, int width, int options) throws AdContentException
renderContent
in interface AdContentProvider
content
- The content element to renderidentifier
- A long that is used to access the database recordservletBase
- The Web App root for the click thru servletheight
- The suggested heightwidth
- The suggested widthoption
- The options for the rendering
AdContentException
public String renderContent(RenderableContent content, long identifier, String servletBase, int height, int width, int options) throws AdContentException
renderContent
in interface AdRenderableContentProvider
content
- The content element to renderidentifier
- A long that is used to access the database recordservletBase
- The Web App root for the click thru servletheight
- The suggested heightwidth
- The suggested widthoption
- The options for the rendering
AdContentException
protected String createParam(String name, String value)
name
- the name attributevalue
- the value attributepublic static final String cnvrtSC(String s)
AdHelper.toHTML(java.lang.String)
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |