com.sapportals.portal.pb.contentservice.testcomponent
Class TestHTMLProcessor

java.lang.Object
  |
  +--com.sapportals.portal.pb.contentservice.testcomponent.TestHTMLProcessor
All Implemented Interfaces:
IHTMLProcessor, java.io.Serializable

public class TestHTMLProcessor
extends java.lang.Object
implements IHTMLProcessor

See Also:
Serialized Form

Constructor Summary
TestHTMLProcessor()
           
 
Method Summary
 boolean processHTML(java.io.BufferedReader inputHTML, java.io.BufferedWriter outputHTML, java.lang.String HTMLEncoding)
          Method processHTML.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestHTMLProcessor

public TestHTMLProcessor()
Method Detail

processHTML

public boolean processHTML(java.io.BufferedReader inputHTML,
                           java.io.BufferedWriter outputHTML,
                           java.lang.String HTMLEncoding)
Description copied from interface: IHTMLProcessor
Method processHTML. This method implementation is used to process HTML (or any other text content) recieved from a site, and to give the client using the content fetching service the option to do a transformation of the HTML. The client can decide in runtime if any changes need to be made and notify the service on it. No special char encoding should be done. The reader and writer already handle the encoding.
Specified by:
processHTML in interface IHTMLProcessor
Following copied from interface: com.sapportals.portal.pb.contentservice.IHTMLProcessor
Parameters:
inputHTML - a reader of the HTML to process
outputHTML - a writer to which the processed HTML is written. Must not be re-allocated. Must be flushed when finished using
HTMLEncoding - A string indicating the encoding of the HTML
Returns:
boolean indicating to the service whether the HTML was processed or not.