© 2002 BEA Systems, Inc.


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
 

Field Detail

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
Method Detail

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 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
option - The options for the rendering

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved