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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_uniqueObjects
protected java.util.Hashtable m_uniqueObjects
m_uniqueObjectList
protected java.util.Vector m_uniqueObjectList
HtmlContainerIdentifiableWithUniqueManager
public HtmlContainerIdentifiableWithUniqueManager()
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 HtmlContainer
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 HtmlContainer
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 HtmlContainer
getElementCount
public int getElementCount()
- Returns the number of elements in the container and all sub elements
- Overrides:
getElementCount in class HtmlContainer
- Returns:
- number of elements + sub elements
addUniqueObject
public void addUniqueObject(IHtmlUniqueObject obj)
addUniqueObject
public void addUniqueObject(java.lang.String key,
IHtmlOutputable obj)
removeUniqueObject
public void removeUniqueObject(java.lang.String uniqueid)
getUniqueObjects
public java.util.Hashtable getUniqueObjects()
- return the uniqueObjects variable.
getUniqueObject
public IHtmlUniqueObject getUniqueObject(java.lang.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()
- Overrides:
destroy in class HtmlContainerIdentifiable