|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.htmlb.htmlcontainer.DefaultHtmlParser
The DefaultHtmlParser 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 DefaultHtmlParser 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 | |
DefaultHtmlParser()
|
|
| Method Summary | |
String |
parse(InputStream htmlStream,
String srcUrl)
the parse()-method is called by the NonIsolatedHtmlContainer to adjust the html document. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultHtmlParser()
| Method Detail |
public String parse(InputStream htmlStream,
String srcUrl)
htmlStream - the html documentsrcUrl - the base-Url of the document
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||