|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.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 AdContentProvider
c
- 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 renderingAdContentException
public String renderContent(RenderableContent content, long identifier, String servletBase, int height, int width, int options) throws AdContentException
renderContent
in interface AdRenderableContentProvider
c
- 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 renderingAdContentException
public static final String cnvrtSC(String s)
AdHelper.toHTML(java.lang.String)
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.