|
BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bea.wlw.netui.tags.rendering.TagRenderingBase
public abstract class TagRenderingBase
| Nested Class Summary | |
|---|---|
static class |
TagRenderingBase.Factory
This is the factory for obtaining a Tag Rendering object. |
| Field Summary | |
|---|---|
static Object |
ANCHOR_TAG
Token identifying the Anchor Renderer <a> |
static Object |
BASE_TAG
Token indentifying the Base Renderer <base> |
static Object |
BODY_TAG
|
static Object |
BR_TAG
|
static Object |
CAPTION_TAG
|
static Object |
DIV_TAG
|
static Object |
FORM_TAG
|
static int |
HTML_RENDERING
Identifier for HTML 4.01 Rendering |
static int |
HTML_RENDERING_QUIRKS
Identifier for HTML 4.01 Rendering |
static Object |
HTML_TAG
|
static Object |
IMAGE_TAG
|
static Object |
INPUT_BOOLEAN_TAG
|
static Object |
INPUT_FILE_TAG
|
static Object |
INPUT_HIDDEN_TAG
|
static Object |
INPUT_IMAGE_TAG
|
static Object |
INPUT_SUBMIT_TAG
|
static Object |
INPUT_TEXT_TAG
|
static Object |
LABEL_TAG
|
static Object |
OPTION_TAG
|
static Object |
SELECT_TAG
|
static Object |
SPAN_TAG
|
static Object |
TABLE_TAG
|
static Object |
TD_TAG
|
static Object |
TEXT_AREA_TAG
|
static Object |
TR_TAG
|
static int |
UNKNOWN_RENDERING
Unknown Rendering |
static int |
XHTML_RENDERING
Identifier for XHTML Transitional Rendering |
| Constructor Summary | |
|---|---|
TagRenderingBase()
|
|
| Method Summary | |
|---|---|
abstract void |
doEndTag(weblogic.utils.UnsyncStringBuffer sb)
Render the end tag for an element. |
abstract void |
doStartTag(weblogic.utils.UnsyncStringBuffer sb,
AbstractTagState renderState)
Render the start tag for an element. |
static int |
getDefaultDocType()
|
protected void |
renderAttribute(weblogic.utils.UnsyncStringBuffer buf,
String name,
String value)
This method will append an attribute value to a StringBuffer. |
protected void |
renderAttributes(int type,
weblogic.utils.UnsyncStringBuffer sb,
AbstractAttributeState state)
|
protected void |
renderAttributes(int type,
weblogic.utils.UnsyncStringBuffer sb,
AbstractAttributeState state,
boolean doubleQuote)
Render all of the attributes defined in a map and return the string value. |
protected void |
renderAttributeSingleQuotes(weblogic.utils.UnsyncStringBuffer buf,
String name,
String value)
|
protected void |
renderEndTag(weblogic.utils.UnsyncStringBuffer buf,
String name)
|
protected void |
renderGeneral(HashMap map,
weblogic.utils.UnsyncStringBuffer sb,
boolean doubleQuote)
This method will render all of the general attributes. |
protected void |
renderTag(weblogic.utils.UnsyncStringBuffer buf,
String name)
|
static void |
setDefaultDocType(DocType docType)
|
static void |
setDefaultDocType(String docType)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int UNKNOWN_RENDERING
public static final int HTML_RENDERING
public static final int XHTML_RENDERING
public static final int HTML_RENDERING_QUIRKS
public static final Object ANCHOR_TAG
public static final Object BASE_TAG
public static final Object BODY_TAG
public static final Object BR_TAG
public static final Object CAPTION_TAG
public static final Object FORM_TAG
public static final Object IMAGE_TAG
public static final Object INPUT_BOOLEAN_TAG
public static final Object INPUT_FILE_TAG
public static final Object INPUT_HIDDEN_TAG
public static final Object INPUT_IMAGE_TAG
public static final Object INPUT_SUBMIT_TAG
public static final Object INPUT_TEXT_TAG
public static final Object HTML_TAG
public static final Object LABEL_TAG
public static final Object OPTION_TAG
public static final Object SELECT_TAG
public static final Object SPAN_TAG
public static final Object DIV_TAG
public static final Object TABLE_TAG
public static final Object TD_TAG
public static final Object TEXT_AREA_TAG
public static final Object TR_TAG
| Constructor Detail |
|---|
public TagRenderingBase()
| Method Detail |
|---|
public static int getDefaultDocType()
public static void setDefaultDocType(DocType docType)
public static void setDefaultDocType(String docType)
public abstract void doStartTag(weblogic.utils.UnsyncStringBuffer sb,
AbstractTagState renderState)
sb - A StringBuffer where the element start tag is appended.renderState - The state assocated with the element.public abstract void doEndTag(weblogic.utils.UnsyncStringBuffer sb)
sb - A StringBuffer where the element end tag may be appended.
protected final void renderTag(weblogic.utils.UnsyncStringBuffer buf,
String name)
buf - name -
protected final void renderEndTag(weblogic.utils.UnsyncStringBuffer buf,
String name)
buf - name -
protected final void renderAttribute(weblogic.utils.UnsyncStringBuffer buf,
String name,
String value)
null. If the
value attribute is null the attribute will not be appended to the
StringBuffer.
buf - The StringBuffer to append the attribute into.name - The name of the attributevalue - The value of teh attribute. If this is null the attribute will not be written.
protected final void renderAttributeSingleQuotes(weblogic.utils.UnsyncStringBuffer buf,
String name,
String value)
buf - name - value -
protected void renderAttributes(int type,
weblogic.utils.UnsyncStringBuffer sb,
AbstractAttributeState state,
boolean doubleQuote)
type - an integer key indentifying the map
protected final void renderAttributes(int type,
weblogic.utils.UnsyncStringBuffer sb,
AbstractAttributeState state)
protected void renderGeneral(HashMap map,
weblogic.utils.UnsyncStringBuffer sb,
boolean doubleQuote)
|
BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||