com.bea.p13n.ad.render
Class TextContentProvider
java.lang.Object
com.bea.p13n.ad.render.TextContentProvider
- All Implemented Interfaces
- AdContentProvider, AdRenderableContentProvider
public class TextContentProvider
- extends Object
- implements AdRenderableContentProvider
A class that provides XHTML rendering for HTML content.
This just returns the body of the content in the default encoding.
Method Summary |
byte[] |
getBytes(Node c,
Property p,
BinaryValue bv)
|
byte[] |
getBytes(RenderableContent c,
Property p,
BinaryValue bv)
|
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 |
TextContentProvider
public TextContentProvider()
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
- 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
- Throws
AdContentException
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
- 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
- Throws
AdContentException
getBytes
public byte[] getBytes(Node c,
Property p,
BinaryValue bv)
throws RepositoryException
- Throws
RepositoryException
getBytes
public byte[] getBytes(RenderableContent c,
Property p,
BinaryValue bv)
throws RepositoryException
- Throws
RepositoryException
Copyright © 2000, 2009, 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.