com.sapportals.portal.prt.util.html
Class HtmlContainerIdentifiableWithUniqueManager
java.lang.Object
com.sapportals.portal.prt.util.html.HtmlAttributeContainer
com.sapportals.portal.prt.util.html.HtmlBase
com.sapportals.portal.prt.util.html.HtmlContainer
com.sapportals.portal.prt.util.html.HtmlContainerIdentifiable
com.sapportals.portal.prt.util.html.HtmlContainerIdentifiableWithUniqueManager
- All Implemented Interfaces:
- IHtmlAttributeContainer, IHtmlBase, IHtmlIdentifiable, IHtmlOutputable
- Direct Known Subclasses:
- Html, HtmlApplet, HtmlBody, HtmlContainerIdentifiableWithEvents, HtmlHead, HtmlObject
public abstract class HtmlContainerIdentifiableWithUniqueManager
- extends HtmlContainerIdentifiable
Allows to support unique objects in the container
Created: Thu Nov 18 14:54:15 1999
| Fields inherited from class com.sapportals.portal.prt.util.html.HtmlBase |
m_hasTag |
| Methods inherited from class com.sapportals.portal.prt.util.html.HtmlContainer |
addElement, addElement, getHtmlElements, outputChildren, outputChildren, outputEndTag, outputEndTag, outputStartTag, outputStartTag, removeAllElements, removeElement, setHtmlElements, toString |
m_uniqueObjects
protected Hashtable m_uniqueObjects
m_uniqueObjectList
protected Vector m_uniqueObjectList
HtmlContainerIdentifiableWithUniqueManager
public HtmlContainerIdentifiableWithUniqueManager()
output
public void output(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.
- Specified by:
output in interface IHtmlOutputable- Overrides:
output in class HtmlContainer
output
public void output(PrintWriter writer)
- Deprecated.
- Description copied from interface:
IHtmlOutputable
- Method to get the Html Output of the object into a PrintWriter
- Specified by:
output in interface IHtmlOutputable- Overrides:
output in class HtmlContainer
output
public void output(Writer writer)
- Description copied from interface:
IHtmlOutputable
- Method to get the Html Output of the object into a java.io.Writer
- Specified by:
output in interface IHtmlOutputable- Overrides:
output in class HtmlContainer
getElementCount
public int getElementCount()
- Returns the number of elements in the container and all sub elements
- Specified by:
getElementCount in interface IHtmlOutputable- Overrides:
getElementCount in class HtmlContainer
- Returns:
- number of elements + sub elements
addUniqueObject
public void addUniqueObject(IHtmlUniqueObject obj)
addUniqueObject
public void addUniqueObject(String key,
IHtmlOutputable obj)
removeUniqueObject
public void removeUniqueObject(String uniqueid)
getUniqueObjects
public Hashtable getUniqueObjects()
- return the uniqueObjects variable.
getUniqueObject
public IHtmlUniqueObject getUniqueObject(String objId)
- return the object according to its key.
removeAllUniqueObjects
public void removeAllUniqueObjects()
- Removes all the unique objects from the container
destroy
public void destroy()
- Specified by:
destroy in interface IHtmlOutputable- Overrides:
destroy in class HtmlContainerIdentifiable
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[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
|
[sap.com] EP-BASIS-API
|
[sap.com] epbc.prtapi._apideprecated
|
default
|
EP-PIN-PRT
|
Copyright 2011 SAP AG Complete Copyright Notice