|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.p13n.ad.render.ImageContentProvider
A class that provides a rendering of image mime types.
This will respond to the following AdContentProvider properties (specified in the configuration):
There are a set of metadata variables stored in the content manager which are used to control how the Ad is rendered.
adTarget may be set to 'newwindow' if the ad is to be displayed in a new browser window. Otherwise the adTarget will be displayed on the page where the request for the content is made.
The target of the click thru operation is defined either by the adTargetUrl or the adTargetContent depending upon source of the content.
An image map may be defined. It requires both the adMapName and the adMap attributes be defined.
If the adWinClose attribute is defined, the rendering will add a 'close window' link for the new window.
Constructor Summary | |
ImageContentProvider()
|
Method Summary | |
static java.lang.String |
cnvrtSC(java.lang.String s)
Convert special characters. |
java.lang.String |
renderContent(Content c,
long identifier,
java.lang.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 ImageContentProvider()
Method Detail |
public java.lang.String renderContent(Content c, long identifier, java.lang.String servletBase, int height, int width, int options) throws AdContentException
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 renderingpublic static final java.lang.String cnvrtSC(java.lang.String s)
ContentHelper.toHTML(java.lang.String)
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |