|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.html.HtmlElement | +--weblogic.html.ElementWithAttributes
The ElementWithAttributes is the parent class from which all HtmlElements with attributes are derived. The classes MultiPartElement and SinglePartElement are both derived from this class.
This class provides support for its subclasses for style sheets, which conforms to HTML 4.0.
MultiPartElement
,
SinglePartElement
Fields inherited from class weblogic.html.HtmlElement |
codeset,
useObsolete |
Constructor Summary | |
ElementWithAttributes()
Deprecated. |
Method Summary | |
void |
addAttribute(java.lang.String name,
java.lang.String value)
Deprecated. Sets the attribute name with value. |
void |
addAttribute(java.lang.String name,
java.lang.String value,
boolean upperCaseName)
Deprecated. Sets the attribute name with value. |
protected java.lang.String |
escapeQuotes(java.lang.String inOrig)
Deprecated. |
protected boolean |
getBooleanAttribute(java.lang.String key)
Deprecated. |
protected HtmlElement |
getElementAttribute(java.lang.String key)
Deprecated. |
protected abstract java.lang.String |
getHtmlCode()
Deprecated. |
protected java.lang.Object |
getLocalVar(java.lang.String attrib)
Deprecated. |
protected java.lang.String |
getQuotedAttribute(java.lang.String key)
Deprecated. |
void |
output(java.io.OutputStream out)
Deprecated. |
void |
output(java.io.OutputStream out,
java.lang.String codeset)
Deprecated. |
void |
output(java.io.PrintWriter ostr)
Deprecated. |
protected boolean |
printBody()
Deprecated. |
protected abstract void |
printBody(java.io.OutputStream out)
Deprecated. |
protected abstract void |
printBody(java.io.OutputStream out,
java.lang.String codeset)
Deprecated. |
protected abstract void |
printBody(java.io.PrintWriter pw)
Deprecated. |
protected boolean |
printCR()
Deprecated. |
protected boolean |
printEndingTag()
Deprecated. |
protected void |
setBooleanAttribute(java.lang.String key)
Deprecated. |
protected void |
setBooleanAttribute(java.lang.String key,
boolean val)
Deprecated. |
ElementWithAttributes |
setClass(java.lang.String classattr)
Deprecated. Sets the CLASS attribute for style sheet. |
ElementWithAttributes |
setDirection(java.lang.String dir)
Deprecated. Sets the text direction for an ElementWithAttributes. |
protected void |
setElementAttribute(java.lang.String key,
boolean val)
Deprecated. |
protected void |
setElementAttribute(java.lang.String key,
float val)
Deprecated. |
protected void |
setElementAttribute(java.lang.String key,
HtmlElement val)
Deprecated. |
protected void |
setElementAttribute(java.lang.String key,
int val)
Deprecated. |
protected void |
setElementAttribute(java.lang.String key,
java.lang.String val)
Deprecated. |
ElementWithAttributes |
setId(java.lang.String id)
Deprecated. Sets the ID attribute for an ElementWithAttributes. |
ElementWithAttributes |
setLang(java.lang.String lang)
Deprecated. Sets the language for an ElementWithAttributes (codes from ISO 639 and ISO 3166). |
protected void |
setLocalVar(java.lang.String attrib,
java.lang.Object val)
Deprecated. |
protected void |
setQuotedAttribute(java.lang.String key,
java.lang.String val)
Deprecated. |
ElementWithAttributes |
setStyle(java.lang.String style)
Deprecated. Sets the STYLE attribute for an ElementWithAttributes, which specifies style information for the element using the default style sheet language. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public ElementWithAttributes()
Method Detail |
protected abstract java.lang.String getHtmlCode()
protected boolean printCR()
protected boolean printBody()
protected boolean printEndingTag()
public ElementWithAttributes setClass(java.lang.String classattr)
classattr
- Name of the stylepublic ElementWithAttributes setId(java.lang.String id)
class
- Name of the stylepublic ElementWithAttributes setLang(java.lang.String lang)
lang
- LANG attributepublic ElementWithAttributes setDirection(java.lang.String dir)
dir
- Direction text should be displayedpublic ElementWithAttributes setStyle(java.lang.String style)
A typical argument for this method might be "font-size: 12pt; color: fuschia".
style
- String that defines formattingprotected void setLocalVar(java.lang.String attrib, java.lang.Object val)
protected java.lang.Object getLocalVar(java.lang.String attrib)
protected HtmlElement getElementAttribute(java.lang.String key)
protected void setElementAttribute(java.lang.String key, HtmlElement val)
protected void setElementAttribute(java.lang.String key, java.lang.String val)
protected void setElementAttribute(java.lang.String key, int val)
protected void setElementAttribute(java.lang.String key, float val)
protected void setElementAttribute(java.lang.String key, boolean val)
protected boolean getBooleanAttribute(java.lang.String key)
protected void setBooleanAttribute(java.lang.String key)
protected void setBooleanAttribute(java.lang.String key, boolean val)
protected java.lang.String getQuotedAttribute(java.lang.String key)
protected void setQuotedAttribute(java.lang.String key, java.lang.String val)
protected java.lang.String escapeQuotes(java.lang.String inOrig)
protected abstract void printBody(java.io.OutputStream out) throws java.io.IOException
protected abstract void printBody(java.io.OutputStream out, java.lang.String codeset) throws java.io.IOException
protected abstract void printBody(java.io.PrintWriter pw) throws java.io.IOException
public void output(java.io.OutputStream out) throws java.io.IOException
public void output(java.io.OutputStream out, java.lang.String codeset) throws java.io.IOException
public void addAttribute(java.lang.String name, java.lang.String value)
This method is intended for setting attribute values that do not have specific setters.
name
- String attribute namevalue
- String attribute valuepublic void addAttribute(java.lang.String name, java.lang.String value, boolean upperCaseName)
This method is intended for setting attribute values that do not have specific setters.
name
- String attribute namevalue
- String attribute valueupperCaseName
- True if attribute name is to be converted to all upper casepublic void output(java.io.PrintWriter ostr) throws java.io.IOException
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |