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

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

public abstract class HtmlBase
extends HtmlAttributeContainer

HtmlBase.java Created: Fri Mar 16 10:08:59 2001

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

Field Summary
protected  boolean m_hasTag
           
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlAttributeContainer
EQUALS_BEGIN, EQUALS_END, m_attributes, SPACE
 
Constructor Summary
protected HtmlBase()
           
 
Method Summary
 java.lang.String getTag()
          Returns the tag of the HTML element
 boolean hasTag()
           
 boolean requireClosingTag()
           
 void requireClosingTag(boolean requireOrNot)
          If the Html element requires a closing tag
 void setClass(java.lang.String element_class)
          Set the element class for Cascading Style Sheets.
 void setStyle(java.lang.String styleStatement)
          Set the style attribute
 void setTag(java.lang.String tagname)
           
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlAttributeContainer
addAttribute, appendToAttribute, destroy, getAttributes, outputAttributes, outputAttributes, outputAttributes, removeAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sapportals.portal.prt.util.html.IHtmlOutputable
getElementCount, output, output, output, toString
 

Field Detail

m_hasTag

protected boolean m_hasTag
Constructor Detail

HtmlBase

protected HtmlBase()
Method Detail

hasTag

public boolean hasTag()

getTag

public java.lang.String getTag()
Description copied from interface: IHtmlBase
Returns the tag of the HTML element

setTag

public void setTag(java.lang.String tagname)

requireClosingTag

public void requireClosingTag(boolean requireOrNot)
Description copied from interface: IHtmlBase
If the Html element requires a closing tag
Following copied from interface: com.sapportals.portal.prt.util.html.IHtmlBase
Parameters:
close - a value of type 'boolean'

requireClosingTag

public boolean requireClosingTag()

setClass

public void setClass(java.lang.String element_class)
Set the element class for Cascading Style Sheets.

setStyle

public void setStyle(java.lang.String styleStatement)
Set the style attribute