com.sapportals.portal.prt.util.html
Class HtmlSinglePartElement
java.lang.Object
|
+--com.sapportals.portal.prt.util.html.HtmlAttributeContainer
|
+--com.sapportals.portal.prt.util.html.HtmlBase
|
+--com.sapportals.portal.prt.util.html.HtmlSinglePartElement
- All Implemented Interfaces:
- IHtmlAttributeContainer, IHtmlBase, IHtmlOutputable
- Direct Known Subclasses:
- HtmlBr, HtmlCol, HtmlComment, HtmlDocType, HtmlImage, HtmlLabelFor, HtmlLink, HtmlOption
- public abstract class HtmlSinglePartElement
- extends HtmlBase
HtmlSinglePartElement.java
Created: Fri Oct 29 11:33:55 1999
- Version:
- $Revision: #3 $
|
Field Summary |
protected java.lang.String |
m_name
The name of the element |
| Fields inherited from class com.sapportals.portal.prt.util.html.HtmlBase |
m_hasTag |
|
Method Summary |
int |
getElementCount()
Returns the number of elements in the container and all sub elements |
java.lang.String |
getName()
Get the value of m_name. |
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 |
setName(java.lang.String v)
Set the value of m_name. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_name
protected java.lang.String m_name
- The name of the element
HtmlSinglePartElement
public HtmlSinglePartElement()
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
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
getName
public java.lang.String getName()
- Get the value of m_name.
- Returns:
- Value of m_name.
setName
public void setName(java.lang.String v)
- Set the value of m_name.
- Parameters:
v - Value to assign to m_name.