com.bea.p13n.ad
Interface AdContentProvider

All Known Subinterfaces:
AdRenderableContentProvider
All Known Implementing Classes:
AdContentProviderBase, DefaultContentProvider, ImageContentProvider, ShockwaveContentProvider, TextContentProvider

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 String NEW_WINDOW_TYPE
          The type designating a new window.
static int PREVIEW
          Option saying we are in preview mode
 
Method Summary
 String renderContent(Node content, long identifier, String servletBase, int height, int width, int options)
          Deprecated  
 

Field Detail

NEW_WINDOW_TYPE

static final String NEW_WINDOW_TYPE
The type designating a new window.

See Also
Constants Summary

NEW_WINDOW

static final int NEW_WINDOW
Option to allow a new window

See Also
Constants Summary

PREVIEW

static final int PREVIEW
Option saying we are in preview mode

See Also
Constants Summary
Method Detail

renderContent

String renderContent(Node content,
                     long identifier,
                     String servletBase,
                     int height,
                     int width,
                     int options)
                     throws AdContentException
Deprecated 

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
Throws
AdContentException


Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.