com.bea.p13n.ad.render
Class TextContentProvider
java.lang.Object
com.bea.p13n.ad.render.TextContentProvider
- All Implemented Interfaces:
- AdContentProvider
- public class TextContentProvider
- extends Object
- implements AdContentProvider
A class that provides XHTML rendering for HTML content.
This just returns the body of the content in the default encoding.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextContentProvider
public TextContentProvider()
getBytes
public byte[] getBytes(Node c,
Property p,
BinaryValue bv)
throws RepositoryException
- Throws:
RepositoryException
renderContent
public String renderContent(Node c,
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 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
Copyright © 2005 BEA Systems, Inc. All Rights Reserved