com.bea.p13n.ad
Interface AdContentProvider
- All Known Implementing Classes:
- AdContentProviderBase, TextContentProvider, ImageContentProvider, ShockwaveContentProvider, DefaultContentProvider
- public interface AdContentProvider
The public interface of an object which can render ad Content objects into
displayable content.
Field Summary
|
static int |
NEW_WINDOW
Option to allow a new window |
static java.lang.String |
NEW_WINDOW_TYPE
The type designating a new window. |
static int |
PREVIEW
Option saying we are in preview mode |
Method Summary
|
java.lang.String |
renderContent(Content content,
long identifier,
java.lang.String servletBase,
int height,
int width,
int options)
Return the XHTML content for the specified content |
NEW_WINDOW_TYPE
public static final java.lang.String NEW_WINDOW_TYPE
- The type designating a new window.
NEW_WINDOW
public static final int NEW_WINDOW
- Option to allow a new window
PREVIEW
public static final int PREVIEW
- Option saying we are in preview mode
renderContent
public java.lang.String renderContent(Content content,
long identifier,
java.lang.String servletBase,
int height,
int width,
int options)
throws AdContentException
- Return the XHTML content for the specified content
- Parameters:
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
Copyright © 2002 BEA Systems, Inc. All Rights Reserved