pt.despodata.java.webappl
Class Page

java.lang.Object
  extended bypt.despodata.java.webappl.Page
All Implemented Interfaces:
IPage
Direct Known Subclasses:
FrameSet, WebPage

public class Page
extends java.lang.Object
implements IPage

Page.java, Representa uma pagina html. Created: Tue Oct 10 04:30:13 2000

Version:
$Revision: 1.1.1.1 $
Author:
Paulo Carmo

Field Summary
protected  Frame frame
          Frame onde esta pagina foi definida.
protected  FrameSet frameSet
          FrameSet a que esta pagina pertence.
protected  java.lang.String uri
          Identificador desta pagina.
 
Fields inherited from interface pt.despodata.java.webappl.IPage
FRAME, FRAMESET, UNKNOW, WEBPAGE
 
Constructor Summary
Page(java.lang.String uri, int type)
          Constroi uma representacao de uma pagina de Web.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Verifica se uma pagina e igual a outra
 Frame getFrame()
          Get the value of frame.
 FrameSet getFrameSet()
          Get the value of frameSet.
 java.lang.String getParentUri()
          Get the value of parentUri.
 int getType()
          Devolve o tipo de pagina.
 java.lang.String getUri()
          Get the value of uri.
 int hashCode()
          Funcao de dispercao usada em Hashtables
 boolean isDetail()
          Get the value of detail.
 void setDetail(boolean v)
          Set the value of detail.
 void setParentUri(java.lang.String v)
          Set the value of parentUri.
protected  void setUri(java.lang.String v)
          Set the value of uri.
 java.lang.String toString()
          Representa a estrutura da pagina numa String.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

frame

protected Frame frame
Frame onde esta pagina foi definida.


frameSet

protected FrameSet frameSet
FrameSet a que esta pagina pertence.


uri

protected java.lang.String uri
Identificador desta pagina.

Constructor Detail

Page

public Page(java.lang.String uri,
            int type)
Constroi uma representacao de uma pagina de Web.

Parameters:
uri - Url da pagina.
Method Detail

equals

public boolean equals(java.lang.Object obj)
Verifica se uma pagina e igual a outra


hashCode

public int hashCode()
Funcao de dispercao usada em Hashtables


toString

public java.lang.String toString()
Representa a estrutura da pagina numa String.


getFrame

public Frame getFrame()
Get the value of frame.

Specified by:
getFrame in interface IPage
Returns:
Value of frame.

getFrameSet

public FrameSet getFrameSet()
Get the value of frameSet.

Specified by:
getFrameSet in interface IPage
Returns:
Value of frameSet.

getParentUri

public java.lang.String getParentUri()
Get the value of parentUri.

Specified by:
getParentUri in interface IPage
Returns:
Value of parentUri.

getType

public int getType()
Devolve o tipo de pagina.

Specified by:
getType in interface IPage

getUri

public java.lang.String getUri()
Get the value of uri.

Specified by:
getUri in interface IPage
Returns:
Value of uri.

isDetail

public boolean isDetail()
Get the value of detail.

Specified by:
isDetail in interface IPage
Returns:
Value of detail.

setDetail

public void setDetail(boolean v)
Set the value of detail.

Specified by:
setDetail in interface IPage
Parameters:
v - Value to assign to detail.

setParentUri

public void setParentUri(java.lang.String v)
Set the value of parentUri.

Specified by:
setParentUri in interface IPage
Parameters:
v - Value to assign to parentUri.

setUri

protected void setUri(java.lang.String v)
Set the value of uri.

Parameters:
v - Value to assign to uri.