|
SAP NetWeaver 7.30 SP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.portal.prt.util.html.HtmlAttributeContainer
public abstract class HtmlAttributeContainer
HtmlAttributeContainer.java Created: Thu Mar 22 11:21:18 2001
| Field Summary | |
|---|---|
protected static String |
EQUALS_BEGIN
|
protected static String |
EQUALS_END
|
protected Hashtable |
m_attributes
Html non standard properties in the container. |
protected static String |
SPACE
|
| Constructor Summary | |
|---|---|
protected |
HtmlAttributeContainer()
|
| Method Summary | |
|---|---|
IHtmlAttributeContainer |
addAttribute(String propName,
String value)
Add a property to the container |
static void |
addIsThreadXHTMLCompliant(boolean xhtmlCompliant)
Add compliance of a thread to XHTML - which will eventually will have implications on how each html tag of the html document will be rendered - compliant or not |
IHtmlAttributeContainer |
appendToAttribute(String propName,
String value)
Append the value to an existing/newly created property in the container |
void |
destroy()
|
Hashtable |
getAttributes()
Get the value of m_attributes. |
protected static boolean |
isThreadXHTMLCompliant()
Used by the html tags to check if it should be rendered as html compliant or not |
void |
outputAttributes(PrintWriter writer)
Deprecated. |
void |
outputAttributes(StringBuffer strbuf)
|
void |
outputAttributes(Writer writer)
|
IHtmlAttributeContainer |
removeAttribute(String propName)
|
static void |
removeIsThreadXHTMLCompliant()
When the request cycle is done, the record should be removed from the hashtable to free the space and clean so that we won't have garbage which might harm future requests (with same threadID for instance) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sapportals.portal.prt.util.html.IHtmlBase |
|---|
getTag, requireClosingTag, requireClosingTag, setTag |
| Methods inherited from interface com.sapportals.portal.prt.util.html.IHtmlOutputable |
|---|
getElementCount, output, output, output, toString |
| Field Detail |
|---|
protected static final String SPACE
protected static final String EQUALS_BEGIN
protected static final String EQUALS_END
protected Hashtable m_attributes
| Constructor Detail |
|---|
protected HtmlAttributeContainer()
| Method Detail |
|---|
public static void addIsThreadXHTMLCompliant(boolean xhtmlCompliant)
xhtmlCompliant - protected static boolean isThreadXHTMLCompliant()
public static void removeIsThreadXHTMLCompliant()
public void outputAttributes(StringBuffer strbuf)
outputAttributes in interface IHtmlAttributeContainerpublic void outputAttributes(PrintWriter writer)
outputAttributes in interface IHtmlAttributeContainerpublic void outputAttributes(Writer writer)
outputAttributes in interface IHtmlAttributeContainerpublic Hashtable getAttributes()
getAttributes in interface IHtmlAttributeContainer
public IHtmlAttributeContainer appendToAttribute(String propName,
String value)
appendToAttribute in interface IHtmlAttributeContainer
public IHtmlAttributeContainer addAttribute(String propName,
String value)
IHtmlAttributeContainer
addAttribute in interface IHtmlAttributeContainerpublic IHtmlAttributeContainer removeAttribute(String propName)
removeAttribute in interface IHtmlAttributeContainerpublic void destroy()
destroy in interface IHtmlOutputable| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com]
|
default
|
EP-PIN-PRT
|
|
SAP NetWeaver 7.30 SP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||