com.sapportals.portal.prt.util.html

Class HtmlBase

java.lang.Object
  extended by com.sapportals.portal.prt.util.html.HtmlAttributeContainer
      extended by 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


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
 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(String element_class)
          Set the element class for Cascading Style Sheets.
 void setStyle(String styleStatement)
          Set the style attribute
 void setTag(String tagname)
           
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlAttributeContainer
addAttribute, addIsThreadXHTMLCompliant, appendToAttribute, destroy, getAttributes, isThreadXHTMLCompliant, outputAttributes, outputAttributes, outputAttributes, removeAttribute, removeIsThreadXHTMLCompliant
 
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 String getTag()
Description copied from interface: IHtmlBase
Returns the tag of the HTML element


setTag

public void setTag(String tagname)

requireClosingTag

public void requireClosingTag(boolean requireOrNot)
Description copied from interface: IHtmlBase
If the Html element requires a closing tag

Parameters:
requireOrNot - close a value of type 'boolean'

requireClosingTag

public boolean requireClosingTag()

setClass

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


setStyle

public void setStyle(String styleStatement)
Set the style attribute

Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] epbc.prtapi._apideprecated default EP-PIN-PRT
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/lib/api api EP-PIN
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/api api EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice