AdContentProvider Interface
- public interface AdContentProvider
The public interface of an object which can render ad Content objects into
displayable content.
-
All Known Implementing Classes
-
AdContentProviderBase
, TextContentProvider
, ShockwaveContentProvider
, ImageContentProvider
, DefaultContentProvider
public static final int |
-
NEW_WINDOW
- Option to allow a new window
|
public static final String |
-
NEW_WINDOW_TYPE
- The type designating a new window.
|
public static final int |
-
PREVIEW
- Option saying we are in preview mode
|
public String |
-
renderContent (Node content, long identifier, String servletBase, int height, int width, int options)
- Return the XHTML content for the specified content
|
NEW_WINDOW
public static final int NEW_WINDOW
- Option to allow a new window
NEW_WINDOW_TYPE
public static final String
NEW_WINDOW_TYPE
- The type designating a new window.
PREVIEW
public static final int PREVIEW
- Option saying we are in preview mode
renderContent(Node, long, String, int, int, int) Method
public String
renderContent(Node
content,
long identifier,
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
-
options
- The options for the rendering
Exceptions
-
AdContentException