|
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.Component
com.sapportals.htmlb.htmlcontainer.NonIsolatedHtmlContainer
The NonIsolatedHtmlContainer will display a html-document, which is represented by an inputStream, inside an Html Business for Java application. To be able to display a whole html document without using iFrames, the document has to be adjusted to this special need. Therefore the NonIsolatedHtmlContainer provides a parser, which does these adjustments. The application developer can also provide its own parser if the application has special needs.
Documents which include Forms, Frames or Framesets can't be displayed non-isolated. If the document contains one of these tags, an error message will be displayed.
There are a lot of things which might not work if a document is displayed non-isolated:
There might be some other things which will not work correctly! Ensure that your html document works correctly. If not, write your own parser and adjust the document to your needs.
Copyright 2004 SAP AG
| Field Summary | |
static String |
UI_ID
|
| Constructor Summary | |
NonIsolatedHtmlContainer(InputStream htmlStream)
Creates a NonIsolatedHtmlContainer |
|
| Method Summary | |
IHtmlParser |
getHtmlParser()
gets the html parser which has to be used to parse the htmlStream. |
InputStream |
getHtmlStream()
gets the HtmlStream of the NonIsolatedHtmlContainer. |
String |
getParsedHtml()
gets the parsed html stream, which is parsed by the specified html parser or by the DefaultHtmlParser |
String |
getSrcUrl()
gets the URL from the HtmlStream. |
String |
getUI()
get a identification String for the renderer that is unique across all supported components. |
String |
getWidth()
gets the width of the NonIsolatedHtmlContainer |
boolean |
isBordered()
determines if the NonIsolatedHtmlContainer has a border. |
boolean |
requiresForm()
check if a special component really requires a form around it. |
void |
setBordered(boolean border)
sets if the NonIsolatedHtmlContainer has a border. |
void |
setHtmlParser(IHtmlParser htmlParser)
sets the html parser which has to be used to parse the htmlStream. |
void |
setHtmlStream(InputStream htmlStream)
sets the HtmlStream of the NonIsolatedHtmlContainer. |
void |
setSrcURL(String srcUrl)
sets the URL from the HtmlStream. |
void |
setWidth(String width)
sets the the width of the IsolatedHtmlContainer. |
| Methods inherited from class com.sapportals.htmlb.Component |
getEncodedIdForForm, getId, getParent, initFromPageContext, initFromShortId, initializeFromId, isJsObjectNeeded, preRender, render, renderAsString, setId, setJsObjectNeeded, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String UI_ID
| Constructor Detail |
public NonIsolatedHtmlContainer(InputStream htmlStream)
htmlStream - the html document| Method Detail |
public String getUI()
getUI in class Componentpublic String getSrcUrl()
public void setSrcURL(String srcUrl)
srcUrl - the URL to the Html Documentpublic InputStream getHtmlStream()
public void setHtmlStream(InputStream htmlStream)
htmlStream - the HtmlStream of the documentpublic IHtmlParser getHtmlParser()
public void setHtmlParser(IHtmlParser htmlParser)
htmlParser - an instance of the html-parserpublic String getWidth()
public void setWidth(String width)
width - width of the NonIsolatedHtmlContainer in pixel or percentpublic boolean isBordered()
public void setBordered(boolean border)
border - true if the NonIsolatedHtmlContainer should have a borderpublic String getParsedHtml()
public boolean requiresForm()
requiresForm in class Component
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||