|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.p13n.ad.render.DefaultContentProvider
public class DefaultContentProvider
A default ad renderer for when no other renderer is available.
This will just print a link to the document.
This will respond to the following AdContentProvider properties (specified in the configuration):
"ShowDoc").
${name} which is the name of the Content).
| Nested Class Summary | |
|---|---|
static class |
DefaultContentProvider.ContentVariableFinder
A variable finder that will retrieve the variable values as properties of a Content object. |
| Field Summary |
|---|
| Fields inherited from interface com.bea.p13n.ad.AdRenderableContentProvider |
|---|
VERSION_ID |
| Fields inherited from interface com.bea.p13n.ad.AdContentProvider |
|---|
NEW_WINDOW, NEW_WINDOW_TYPE, PREVIEW |
| Constructor Summary | |
|---|---|
DefaultContentProvider()
|
|
| Method Summary | |
|---|---|
static String |
cnvrtSC(String s)
Convert special characters. |
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 |
| Constructor Detail |
|---|
public DefaultContentProvider()
| Method Detail |
|---|
public String renderContent(Node c,
long identifier,
String servletBase,
int height,
int width,
int options)
throws AdContentException
renderContent in interface AdContentProviderc - The Node element to renderidentifier - A long that is used to access the database recordservletBase - The Web App root for the click thru servletheight - The suggested heightwidth - The suggested widthoptions - The options for the rendering
AdContentException
public String renderContent(RenderableContent content,
long identifier,
String servletBase,
int height,
int width,
int options)
throws AdContentException
renderContent in interface AdRenderableContentProviderc - The Node element to renderidentifier - A long that is used to access the database recordservletBase - The Web App root for the click thru servletheight - The suggested heightwidth - The suggested widthoptions - The options for the rendering
AdContentExceptionpublic static final String cnvrtSC(String s)
AdHelper.toHTML(java.lang.String)
|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||