| java.lang.Object com.salmonllc.html.HtmlComponent com.salmonllc.html.HtmlRaw
HtmlRaw | public class HtmlRaw extends HtmlComponent (Code) | | This type can be used to add a region of raw HTML to the page. The HTML can be static or can be loaded from an input stream.
|
HtmlRaw | public HtmlRaw(String html, HtmlPage p)(Code) | | Constructs a new raw html component
Parameters: html - - The html to place in the page. Parameters: p - - page to use. |
HtmlRaw | public HtmlRaw(String name, String html, HtmlPage p)(Code) | | Constructs a raw html component
Parameters: name - - The name of the component in the page Parameters: html - - The html to place in the page. Parameters: p - - page to use. |
getFileName | public String getFileName()(Code) | | Use this method get the name of the file on the server's file system to be streamed back to the browser.
|
getHtml | public String getHtml()(Code) | | This method returns the HTML in the component.
|
setExpression | public void setExpression(DataStoreBuffer ds, String expression) throws Exception(Code) | | Use this method to bind this component to an expression in a DataStore
Parameters: ds - The DataStore to bind to. Parameters: expression - The expression to bind to. See Also: DataStoreEvaluator |
setFileName | public void setFileName(String name)(Code) | | Use this method to specify the name of the file on the server's file system to be streamed back to the browser.
|
setHtml | public void setHtml(String html)(Code) | | This method sets the HTML that the componnt will generate.
|
setInputStream | public void setInputStream(InputStream in)(Code) | | This method sets the input stream that the component will draw it's HTML from.
|
|
|