com.sapportals.wcm.control.util

Class HtmlRendererParser

java.lang.Object
  extended by com.sapportals.wcm.control.util.HtmlRendererParser
All Implemented Interfaces:
IHtmlRendererParser

Deprecated. As of NetWeaver 7.1

public class HtmlRendererParser
extends Object
implements IHtmlRendererParser

The HtmlRendererParser is used to adjust a whole html document in that way, that it it fit's non-isolated into an html business for java application. The HtmlRendererParser will delete the following tags from the html document:

All attributes of the <body>-tag are replaced by a <table>-tag with the same atttributes

If the document contains <frameset>, <frame>, or <form>, the content of the document is replaced by an error message.

Relative URL's are replaced by absolute URL's, if they are used in one of the following attributes:

Targets of links are set to "_blank"

Copyright 2004 SAP AG


Constructor Summary
HtmlRendererParser()
          Deprecated.  
 
Method Summary
 com.sapportals.htmlb.Component parse(InputStream htmlStream, String srcUrl, String encoding, IHtmlDocumentLinkReplacer linkReplacer)
          Deprecated. As of NetWeaver 7.1
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlRendererParser

public HtmlRendererParser()
Deprecated. 
Method Detail

parse

public com.sapportals.htmlb.Component parse(InputStream htmlStream,
                                            String srcUrl,
                                            String encoding,
                                            IHtmlDocumentLinkReplacer linkReplacer)
Deprecated. As of NetWeaver 7.1

the parse()-method is called by the NonIsolatedHtmlContainer to adjust the html document.

Specified by:
parse in interface IHtmlRendererParser
Parameters:
htmlStream - the html document
srcUrl - the base-Url of the document
Returns:
the parsed document
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice