© 2001 BEA Systems, Inc.

com.bea.commerce.platform.ad
Interface AdContentProvider

All Known Implementing Classes:
AdClickThruServlet

public interface AdContentProvider


Field Summary
static int NEW_WINDOW
          option to allow 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

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

© 2001 BEA Systems, Inc.

Copyright © 2001 BEA Systems, Inc. All Rights Reserved