com.bankframe.fe.html
Class Page

java.lang.Object
  extended bycom.bankframe.fe.html.HTMLWidget
      extended bycom.bankframe.fe.html.Page

public class Page
extends HTMLWidget

This class implements a HTML page widget, which is a representation of a full HTML document. A page wiget is composed of a head widget and a body widget, which themselves or composed of widgets.


Constructor Summary
Page()
          Default Constructor
Page(Head h, Body b)
          Constructor
 
Method Summary
 Body getBody()
          This method gets the body widget of this page.
 Head getHead()
          This method gets the head widget of this page.
 void setBody(Body body)
          This method sets the document body of this page.
 void setHead(Head head)
          This method sets the document head of this page.
 java.lang.String toHTML()
          This method returns a HTML representation of this widget.
 java.lang.String toString()
          This method returns a string representation of this widget.
 
Methods inherited from class com.bankframe.fe.html.HTMLWidget
quote, quote
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Page

public Page()
Default Constructor


Page

public Page(Head h,
            Body b)
Constructor

Parameters:
h - HTML document HEAD
b - HTML document BODY
Method Detail

getBody

public Body getBody()
This method gets the body widget of this page.

Returns:
the body widget of this Page

getHead

public Head getHead()
This method gets the head widget of this page.

Returns:
the head widget of this Page

setBody

public void setBody(Body body)
This method sets the document body of this page.

Parameters:
body - the the new body widget for this page

setHead

public void setHead(Head head)
This method sets the document head of this page.

Parameters:
head - The new head widget for this page

toHTML

public java.lang.String toHTML()
This method returns a HTML representation of this widget.

Specified by:
toHTML in class HTMLWidget
Returns:
a string containing HTML markup

toString

public java.lang.String toString()
This method returns a string representation of this widget.

Returns:
a string representation of this widget


Copyright © 2005, 2007, Oracle. All rights reserved.