public abstract class HtmlAttributeContainer extends Object implements IHtmlAttributeContainer
| Modifier and Type | Field and Description |
|---|---|
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 |
| Modifier | Constructor and Description |
|---|---|
protected |
HtmlAttributeContainer() |
| Modifier and Type | Method and Description |
|---|---|
IHtmlAttributeContainer |
addAttribute(String propName,
String value)
Add a property to the container
|
static void |
addIsThreadHTML5Compliant(boolean html5Compliant) |
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 |
isThreadHTML5Compliant() |
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 |
removeIsThreadHTML5Compliant() |
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)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTag, requireClosingTag, requireClosingTag, setTaggetElementCount, output, output, output, toStringprotected static final String SPACE
protected static final String EQUALS_BEGIN
protected static final String EQUALS_END
protected Hashtable m_attributes
public static void addIsThreadXHTMLCompliant(boolean xhtmlCompliant)
xhtmlCompliant - public static void addIsThreadHTML5Compliant(boolean html5Compliant)
protected static boolean isThreadXHTMLCompliant()
protected static boolean isThreadHTML5Compliant()
public static void removeIsThreadXHTMLCompliant()
public static void removeIsThreadHTML5Compliant()
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 IHtmlAttributeContainerpublic IHtmlAttributeContainer appendToAttribute(String propName, String value)
appendToAttribute in interface IHtmlAttributeContainerpublic IHtmlAttributeContainer addAttribute(String propName, String value)
IHtmlAttributeContaineraddAttribute 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]
|
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