com.bea.p13n.ad
Class AdContentProviderBase
java.lang.Object
com.bea.p13n.ad.AdContentProviderBase
- All Implemented Interfaces
- AdContentProvider, AdRenderableContentProvider
public class AdContentProviderBase
- extends Object
- implements AdRenderableContentProvider
A default global ad renderer.
This implementation delagates to the AdContentProvider's specified via
the AdContentProvider MBean children of the application's AdService MBean
(i.e. via the META-INF/application-config.xml) on a per-Content mimeType
basis.
|
Method Summary |
String |
renderContent(Node c,
long identifier,
String servletBase,
int height,
int width,
int options)
Deprecated |
String |
renderContent(RenderableContent content,
long identifier,
String servletBase,
int height,
int width,
int options)
Return the XHTML content for the specified content |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdContentProviderBase
public AdContentProviderBase()
renderContent
public String renderContent(Node c,
long identifier,
String servletBase,
int height,
int width,
int options)
throws AdContentException
- Deprecated
- Return the XHTML content for the specified content
- Specified by:
renderContent in interface AdContentProvider
- Parameters
c - The content element to renderidentifier - Identifier ID for the record generating the adservletBase - The web app base on the serverheight - The suggested heightwidth - The suggested widthoptions - The options for the renderer
- Returns
- a String representing the XHTML content
- Throws
AdContentException - when there is a problem rendering
the content- See Also
ContentProviders.getContentProvider(java.lang.String)
renderContent
public String renderContent(RenderableContent content,
long identifier,
String servletBase,
int height,
int width,
int options)
throws AdContentException
- Return the XHTML content for the specified content
- Specified by:
renderContent in interface AdRenderableContentProvider
- Parameters
c - The content element to renderidentifier - Identifier ID for the record generating the adservletBase - The web app base on the serverheight - The suggested heightwidth - The suggested widthoptions - The options for the renderer
- Returns
- a String representing the XHTML content
- Throws
AdContentException - when there is a problem rendering
the content- See Also
ContentProviders.getContentProvider(java.lang.String)
Copyright © 2008 BEA Systems, Inc. All Rights Reserved