com.sapportals.portal.prt.util.html
Class HtmlTitle

java.lang.Object
  |
  +--com.sapportals.portal.prt.util.html.HtmlAttributeContainer
        |
        +--com.sapportals.portal.prt.util.html.HtmlBase
              |
              +--com.sapportals.portal.prt.util.html.HtmlTitle
All Implemented Interfaces:
IHtmlAttributeContainer, IHtmlBase, IHtmlOutputable

public class HtmlTitle
extends HtmlBase

HtmlTitle.java Created: Fri Mar 16 11:48:07 2001

Version:
$Revision: #3 $
$File:$ , $Revision:$ Last modified on $Date:$ by $Author:$ using $Change:$ Copyright (c) SAP Portals Europe GmbH 2001

Field Summary
protected  java.lang.String m_title
          The title
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlBase
m_hasTag
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlAttributeContainer
EQUALS_BEGIN, EQUALS_END, m_attributes, SPACE
 
Constructor Summary
HtmlTitle()
           
HtmlTitle(java.lang.String title)
           
 
Method Summary
 int getElementCount()
          Returns the number of elements in the container and all sub elements
 java.lang.String getTitle()
          Gets the value of m_title.
 void output(java.io.PrintWriter writer)
          Method to get the Html Output of the object into a PrintWriter
 void output(java.lang.StringBuffer strbuf)
          Method to get the Html Out[ut of the object The StringBuffer must be filled with HTML string content.
 void output(java.io.Writer writer)
          Method to get the Html Output of the object into a java.io.Writer
 void outputAttributes(java.io.PrintWriter out)
          Deprecated.  
 void outputAttributes(java.lang.StringBuffer strbuf)
           
 void outputAttributes(java.io.Writer writer)
           
 void setTitle(java.lang.String v)
          Sets the value of m_title.
 java.lang.String toString()
           
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlBase
getTag, hasTag, requireClosingTag, requireClosingTag, setClass, setStyle, setTag
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlAttributeContainer
addAttribute, appendToAttribute, destroy, getAttributes, removeAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_title

protected java.lang.String m_title
The title
Constructor Detail

HtmlTitle

public HtmlTitle()

HtmlTitle

public HtmlTitle(java.lang.String title)
Method Detail

getTitle

public java.lang.String getTitle()
Gets the value of m_title.
Returns:
Value of m_title.

setTitle

public void setTitle(java.lang.String v)
Sets the value of m_title.
Parameters:
v - Value to assign to m_title.

output

public void output(java.lang.StringBuffer strbuf)
Description copied from interface: IHtmlOutputable
Method to get the Html Out[ut of the object The StringBuffer must be filled with HTML string content.

output

public void output(java.io.Writer writer)
Description copied from interface: IHtmlOutputable
Method to get the Html Output of the object into a java.io.Writer

outputAttributes

public void outputAttributes(java.lang.StringBuffer strbuf)
Overrides:
outputAttributes in class HtmlAttributeContainer

outputAttributes

public void outputAttributes(java.io.PrintWriter out)
Deprecated.  

Overrides:
outputAttributes in class HtmlAttributeContainer
Following copied from interface: com.sapportals.portal.prt.util.html.IHtmlAttributeContainer
Parameters:
writer -  

outputAttributes

public void outputAttributes(java.io.Writer writer)
Overrides:
outputAttributes in class HtmlAttributeContainer

output

public void output(java.io.PrintWriter writer)
Deprecated.  

Description copied from interface: IHtmlOutputable
Method to get the Html Output of the object into a PrintWriter

toString

public final java.lang.String toString()
Overrides:
toString in class java.lang.Object

getElementCount

public int getElementCount()
Returns the number of elements in the container and all sub elements
Returns:
number of elements + sub elements