org.opentox.toxotis.core.html.impl
Class HTMLPageImpl

java.lang.Object
  extended by org.opentox.toxotis.core.html.impl.HTMLExpandableComponentImpl
      extended by org.opentox.toxotis.core.html.impl.HTMLPageImpl
All Implemented Interfaces:
HTMLComponent, HTMLExpandableComponent, HTMLPage

public class HTMLPageImpl
extends HTMLExpandableComponentImpl
implements HTMLPage

Author:
Pantelis Sopasakis, Charalampos Chomenides

Constructor Summary
HTMLPageImpl()
           
 
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 head)
          Set the header of the HTML page.
 HTMLPage setHtmlBody(HTMLBody body)
          Set the body of the HTML page.
 String toString()
           
 
Methods inherited from class org.opentox.toxotis.core.html.impl.HTMLExpandableComponentImpl
addComponent, getComponents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HTMLPageImpl

public HTMLPageImpl()
Method Detail

setHead

public void setHead(HTMLHead head)
Description copied from interface: HTMLPage
Set the header of the HTML page.

Specified by:
setHead in interface HTMLPage
Parameters:
head - Header of the page as an instance of HTMLHead.

getHTMLHead

public HTMLHead getHTMLHead()
Description copied from interface: HTMLPage
Getter method for the HTML Head of the HTML page.

Specified by:
getHTMLHead in interface HTMLPage
Returns:
Returns the HTML head of the page.

setHtmlBody

public HTMLPage setHtmlBody(HTMLBody body)
Description copied from interface: HTMLPage
Set the body of the HTML page.

Specified by:
setHtmlBody in interface HTMLPage
Parameters:
body - The body of the HTML page
Returns:
The current HTML page with updated HTML body

getHtmlBody

public HTMLBody getHtmlBody()
Description copied from interface: HTMLPage
Get the HTML body from the page.

Specified by:
getHtmlBody in interface HTMLPage
Returns:
The HTML body content of the page.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011-2012 OpenTox. All Rights Reserved.