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

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

public class HtmlComment
extends HtmlSinglePartElement

HtmlComment.java Created: Thu Nov 04 14:38:57 1999

Version:
$Revision: #3 $

Field Summary
protected  java.lang.String m_comment
          Comment
 
Fields inherited from class com.sapportals.portal.prt.util.html.HtmlSinglePartElement
m_name
 
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
HtmlComment(java.lang.String comment)
           
 
Method Summary
 java.lang.String getComment()
          Get the value of m_comment.
 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 setComment(java.lang.String v)
          Set the value of m_comment.
 
Methods inherited from class com.sapportals.portal.prt.util.html.HtmlSinglePartElement
getElementCount, getName, setName, 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, outputAttributes, outputAttributes, outputAttributes, removeAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_comment

protected java.lang.String m_comment
Comment
Constructor Detail

HtmlComment

public HtmlComment(java.lang.String comment)
Method Detail

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.
Overrides:
output in class HtmlSinglePartElement

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
Overrides:
output in class HtmlSinglePartElement

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
Overrides:
output in class HtmlSinglePartElement

getComment

public java.lang.String getComment()
Get the value of m_comment.
Returns:
Value of m_comment.

setComment

public void setComment(java.lang.String v)
Set the value of m_comment.
Parameters:
v - Value to assign to m_comment.