public class HtmlContainer extends HtmlBase
| Modifier and Type | Field and Description |
|---|---|
protected Vector |
m_htmlElements
Html elements in the container.
|
EQUALS_BEGIN, EQUALS_END, m_attributes, SPACE| Constructor and Description |
|---|
HtmlContainer() |
| Modifier and Type | Method and Description |
|---|---|
HtmlContainer |
addElement(IHtmlOutputable element)
Add a IHtmlOutputable as element.
|
HtmlContainer |
addElement(String aString)
Add a String
|
void |
destroy() |
int |
getElementCount()
Returns the number of elements in the container and all sub elements
|
Vector |
getHtmlElements()
Get the value of m_htmlElements.
|
void |
output(PrintWriter writer)
Deprecated.
|
void |
output(StringBuffer strbuf)
Method to get the Html Out[ut of the object
The StringBuffer must be filled with HTML string content.
|
void |
output(Writer writer)
Method to get the Html Output of the object into a java.io.Writer
|
protected void |
outputChildren(StringBuffer strbuf) |
protected void |
outputChildren(Writer writer) |
protected void |
outputEndTag(StringBuffer strbuf) |
protected void |
outputEndTag(Writer writer) |
protected void |
outputStartTag(StringBuffer strbuf) |
protected void |
outputStartTag(Writer writer) |
void |
removeAllElements() |
void |
removeElement(IHtmlOutputable element) |
void |
setHtmlElements(Vector v)
Set the value of m_htmlElements.
|
String |
toString() |
getTag, hasTag, requireClosingTag, requireClosingTag, setClass, setStyle, setTagaddAttribute, addIsThreadHTML5Compliant, addIsThreadXHTMLCompliant, appendToAttribute, getAttributes, isThreadHTML5Compliant, isThreadXHTMLCompliant, outputAttributes, outputAttributes, outputAttributes, removeAttribute, removeIsThreadHTML5Compliant, removeIsThreadXHTMLCompliantprotected Vector m_htmlElements
public void output(StringBuffer strbuf)
IHtmlOutputablepublic void output(PrintWriter writer)
IHtmlOutputablepublic void output(Writer writer)
IHtmlOutputablepublic final String toString()
toString in interface IHtmlOutputabletoString in class Objectprotected void outputChildren(StringBuffer strbuf)
protected void outputStartTag(StringBuffer strbuf)
protected void outputEndTag(StringBuffer strbuf)
protected void outputChildren(Writer writer)
protected void outputStartTag(Writer writer)
protected void outputEndTag(Writer writer)
public int getElementCount()
public Vector getHtmlElements()
public void setHtmlElements(Vector v)
v - Value to assign to m_htmlElements.public HtmlContainer addElement(IHtmlOutputable element)
public HtmlContainer addElement(String aString)
public void removeElement(IHtmlOutputable element)
public void removeAllElements()
public void destroy()
destroy in interface IHtmlOutputabledestroy in class HtmlAttributeContainer| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com]
|
default
|
EP-PIN-PRT
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/lib/api
|
api
|
EP-PIN
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice