org.opentox.toxotis.core.html
Interface HTMLPage

All Known Implementing Classes:
HTMLPageImpl

public interface HTMLPage

A page in an HTML document. A page consists of the header and the body of the document.

Author:
Pantelis Sopasakis, Charalampos Chomenides

Method Summary
 HTMLBody getHtmlBody()
          Get the HTML body from the page.
 HTMLHead getHTMLHead()
          Getter method for the HTML Head of the HTML page.
 void setHead(HTMLHead header)
          Set the header of the HTML page.
 HTMLPage setHtmlBody(HTMLBody body)
          Set the body of the HTML page.
 

Method Detail

setHead

void setHead(HTMLHead header)
Set the header of the HTML page.

Parameters:
header - Header of the page as an instance of HTMLHead.

getHTMLHead

HTMLHead getHTMLHead()
Getter method for the HTML Head of the HTML page.

Returns:
Returns the HTML head of the page.

setHtmlBody

HTMLPage setHtmlBody(HTMLBody body)
Set the body of the HTML page.

Parameters:
body - The body of the HTML page
Returns:
The current HTML page with updated HTML body

getHtmlBody

HTMLBody getHtmlBody()
Get the HTML body from the page.

Returns:
The HTML body content of the page.


Copyright © 2011-2012 OpenTox. All Rights Reserved.