org.apache.ecs
Class XhtmlFrameSetDocument

java.lang.Object
  |
  +--org.apache.ecs.XhtmlFrameSetDocument
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class XhtmlFrameSetDocument
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

This class creates a XhtmlFrameSetDocument container, for convience. Make sure that you add elements from org.apache.ecs.xhtml and not from org.apache.ecs.html!

Version:
$Id: XhtmlFrameSetDocument.java,v 1.3 2003/04/27 09:42:34 rdonkin Exp $
Author:
Stephan Nagy, Jon S. Stevens, Bojan Smojver
See Also:
Serialized Form

Field Summary
private  body body
           
private  java.lang.String codeset
           
private  Doctype doctype
           
private  frameset frameset
           
private  head head
           
private  html html
           
private  noframes noframes
           
private  title title
           
 
Constructor Summary
XhtmlFrameSetDocument()
          Basic constructor.
XhtmlFrameSetDocument(java.lang.String codeset)
          Basic constructor.
 
Method Summary
(package private)  void ()
           
 XhtmlFrameSetDocument appendBody(Element value)
          Append to the body element for this XhtmlFrameSetDocument container.
 XhtmlFrameSetDocument appendBody(java.lang.String value)
          Append to the body element for this XhtmlFrameSetDocument container.
 XhtmlFrameSetDocument appendFrameSet(Element value)
          Append to the head element for this XhtmlFrameSetDocument container.
 XhtmlFrameSetDocument appendFrameSet(java.lang.String value)
          Append to the head element for this XhtmlFrameSetDocument container.
 XhtmlFrameSetDocument appendHead(Element value)
          Append to the head element for this XhtmlFrameSetDocument container.
 XhtmlFrameSetDocument appendHead(java.lang.String value)
          Append to the head element for this XhtmlFrameSetDocument container.
 XhtmlFrameSetDocument appendTitle(Element value)
          Append to the title element for this XhtmlFrameSetDocument container.
 XhtmlFrameSetDocument appendTitle(java.lang.String value)
          Append to the title element for this XhtmlFrameSetDocument container.
 java.lang.Object clone()
          Allows the XhtmlFrameSetDocument to be cloned.
 body getBody()
          Get the body element for this XhtmlFrameSetDocument container.
 java.lang.String getCodeset()
          Gets the codeset for this XhtmlFrameSetDocument
 Doctype getDoctype()
          Get the doctype element for this XhtmlFrameSetDocument container.
 frameset getFrameSet()
          Get the frameset element for this XhtmlFrameSetDocument container.
 head getHead()
          Get the head element for this XhtmlFrameSetDocument container.
 html getHtml()
          Get the html element for this document container.
 title getTitle()
          Get the title element for this XhtmlFrameSetDocument container.
 void output(java.io.OutputStream out)
          Write the container to the OutputStream
 void output(java.io.PrintWriter out)
          Write the container to the PrintWriter
 XhtmlFrameSetDocument setBody(body set_body)
          Set the body element for this XhtmlFrameSetDocument container.
 void setCodeset(java.lang.String codeset)
          Sets the codeset for this XhtmlFrameSetDocument
 XhtmlFrameSetDocument setDoctype(Doctype set_doctype)
          Set the doctype element for this XhtmlFrameSetDocument container.
 XhtmlFrameSetDocument setHead(frameset set_frameset)
          Set the frameset element for this XhtmlFrameSetDocument container.
 XhtmlFrameSetDocument setHead(head set_head)
          Set the head element for this XhtmlFrameSetDocument container.
 XhtmlFrameSetDocument setHtml(html set_html)
          Set the html element for this XhtmlFrameSetDocument container.
 XhtmlFrameSetDocument setTitle(title set_title)
          Set the title element for this XhtmlFrameSetDocument container.
 java.lang.String toString()
          Override the toString() method so that it prints something meaningful.
 java.lang.String toString(java.lang.String codeset)
          Override the toString() method so that it prints something meaningful.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

html

private html html

head

private head head

body

private body body

title

private title title

frameset

private frameset frameset

noframes

private noframes noframes

codeset

private java.lang.String codeset

doctype

private Doctype doctype
Constructor Detail

XhtmlFrameSetDocument

public XhtmlFrameSetDocument()
Basic constructor.

XhtmlFrameSetDocument

public XhtmlFrameSetDocument(java.lang.String codeset)
Basic constructor. Sets the codeset for the page output.
Method Detail

void ()
Overrides:
in class java.lang.Object

getHtml

public html getHtml()
Get the html element for this document container.

setHtml

public XhtmlFrameSetDocument setHtml(html set_html)
Set the html element for this XhtmlFrameSetDocument container.

getHead

public head getHead()
Get the head element for this XhtmlFrameSetDocument container.

setHead

public XhtmlFrameSetDocument setHead(head set_head)
Set the head element for this XhtmlFrameSetDocument container.

appendHead

public XhtmlFrameSetDocument appendHead(Element value)
Append to the head element for this XhtmlFrameSetDocument container.
Parameters:
value - adds to the value between the head tags

appendHead

public XhtmlFrameSetDocument appendHead(java.lang.String value)
Append to the head element for this XhtmlFrameSetDocument container.
Parameters:
value - adds to the value between the head tags

getFrameSet

public frameset getFrameSet()
Get the frameset element for this XhtmlFrameSetDocument container.

setHead

public XhtmlFrameSetDocument setHead(frameset set_frameset)
Set the frameset element for this XhtmlFrameSetDocument container.

appendFrameSet

public XhtmlFrameSetDocument appendFrameSet(Element value)
Append to the head element for this XhtmlFrameSetDocument container.
Parameters:
value - adds to the value between the head tags

appendFrameSet

public XhtmlFrameSetDocument appendFrameSet(java.lang.String value)
Append to the head element for this XhtmlFrameSetDocument container.
Parameters:
value - adds to the value between the head tags

getBody

public body getBody()
Get the body element for this XhtmlFrameSetDocument container.

setBody

public XhtmlFrameSetDocument setBody(body set_body)
Set the body element for this XhtmlFrameSetDocument container.

appendBody

public XhtmlFrameSetDocument appendBody(Element value)
Append to the body element for this XhtmlFrameSetDocument container.
Parameters:
value - adds to the value between the body tags

appendBody

public XhtmlFrameSetDocument appendBody(java.lang.String value)
Append to the body element for this XhtmlFrameSetDocument container.
Parameters:
value - adds to the value between the body tags

getTitle

public title getTitle()
Get the title element for this XhtmlFrameSetDocument container.

setTitle

public XhtmlFrameSetDocument setTitle(title set_title)
Set the title element for this XhtmlFrameSetDocument container.

appendTitle

public XhtmlFrameSetDocument appendTitle(Element value)
Append to the title element for this XhtmlFrameSetDocument container.
Parameters:
value - adds to the value between the title tags

appendTitle

public XhtmlFrameSetDocument appendTitle(java.lang.String value)
Append to the title element for this XhtmlFrameSetDocument container.
Parameters:
value - adds to the value between the title tags

setCodeset

public void setCodeset(java.lang.String codeset)
Sets the codeset for this XhtmlFrameSetDocument

getCodeset

public java.lang.String getCodeset()
Gets the codeset for this XhtmlFrameSetDocument
Returns:
the codeset

output

public void output(java.io.OutputStream out)
Write the container to the OutputStream

output

public void output(java.io.PrintWriter out)
Write the container to the PrintWriter

toString

public final java.lang.String toString()
Override the toString() method so that it prints something meaningful.
Overrides:
toString in class java.lang.Object

toString

public final java.lang.String toString(java.lang.String codeset)
Override the toString() method so that it prints something meaningful.

clone

public java.lang.Object clone()
Allows the XhtmlFrameSetDocument to be cloned. Doesn't return an instanceof XhtmlFrameSetDocument returns instance of html.
Overrides:
clone in class java.lang.Object

getDoctype

public Doctype getDoctype()
Get the doctype element for this XhtmlFrameSetDocument container.

setDoctype

public XhtmlFrameSetDocument setDoctype(Doctype set_doctype)
Set the doctype element for this XhtmlFrameSetDocument container.


Copyright © 1999-2003 Apache Software Foundation. All Rights Reserved.