BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs.

com.bea.wlw.netui.tags.rendering
Class BaseTag

java.lang.Object
  extended by com.bea.wlw.netui.tags.rendering.TagRenderingBase
      extended by com.bea.wlw.netui.tags.rendering.TagHtmlBase
          extended by com.bea.wlw.netui.tags.rendering.BaseTag
All Implemented Interfaces:
HtmlConstants

public abstract class BaseTag
extends TagHtmlBase
implements HtmlConstants

Render the HTML <base> tag. This is the document base URI. In HTML 4.01 the start tag is required and the end tag forbidden. The tag will be rendered as a single tag. The href attribute is required in HTML 4.01 and optional in XHTML.


Nested Class Summary
static class BaseTag.State
           
 
Nested classes/interfaces inherited from class com.bea.wlw.netui.tags.rendering.TagRenderingBase
TagRenderingBase.Factory
 
Field Summary
 
Fields inherited from class com.bea.wlw.netui.tags.rendering.TagRenderingBase
ANCHOR_TAG, BASE_TAG, BODY_TAG, BR_TAG, CAPTION_TAG, DIV_TAG, FORM_TAG, HTML_RENDERING, HTML_RENDERING_QUIRKS, HTML_TAG, IMAGE_TAG, INPUT_BOOLEAN_TAG, INPUT_FILE_TAG, INPUT_HIDDEN_TAG, INPUT_IMAGE_TAG, INPUT_SUBMIT_TAG, INPUT_TEXT_TAG, LABEL_TAG, OPTION_TAG, SELECT_TAG, SPAN_TAG, TABLE_TAG, TD_TAG, TEXT_AREA_TAG, TR_TAG, UNKNOWN_RENDERING, XHTML_RENDERING
 
Fields inherited from interface com.bea.wlw.netui.tags.html.HtmlConstants
ACCEPT, ACCESSKEY, ACTION, ALIGN, ALINK, ALT, ANCHOR, BACKGROUND, BASE, BGCOLOR, BODY, BORDER, BR, CAPTION, CELLPADDING, CELLSPACING, CHAR, CHAROFF, CHARSET, CHECKED, CLASS, COLS, COORDS, DIR, DISABLED, DIV, ENCTYPE, FOR, FORM, FORM_GET, FORM_POST, FRAME, HEIGHT, HREF, HREFLANG, HSPACE, HTML, ID, IMAGE, INPUT, INPUT_BUTTON, INPUT_CHECKBOX, INPUT_FILE, INPUT_HIDDEN, INPUT_IMAGE, INPUT_PASSWORD, INPUT_RADIO, INPUT_RESET, INPUT_SUBMIT, INPUT_TEXT, ISMAP, LABEL, LANG, LINK, LONGDESC, MAXLENGTH, METHOD, NAME, ONBLUR, ONCHANGE, ONCLICK, ONDBLCLICK, ONFOCUS, ONKEYDOWN, ONKEYPRESS, ONKEYUP, ONLOAD, ONMOUSEDOWN, ONMOUSEMOVE, ONMOUSEOUT, ONMOUSEOVER, ONMOUSEUP, ONRESET, ONSELECT, ONSUBMIT, ONUNLOAD, OPTION, READONLY, REL, REV, ROWS, RULES, SELECT, SHAPE, SIZE, SPAN, SRC, STYLE, SUMMARY, TABINDEX, TABLE, TARGET, TD, TEXT, TEXTAREA, TITLE, TR, TYPE, USEMAP, VALIGN, VALUE, VLINK, VSPACE, WIDTH
 
Constructor Summary
BaseTag()
           
 
Method Summary
static void add(HashMap html, HashMap htmlQuirks, HashMap xhtml)
           
 void doEndTag(weblogic.utils.UnsyncStringBuffer sb)
          Render the end tag for an element.
 void doStartTag(weblogic.utils.UnsyncStringBuffer sb, AbstractTagState renderState)
          Render the start tag for an element.
protected abstract  void writeEnd(weblogic.utils.UnsyncStringBuffer sb)
           
 
Methods inherited from class com.bea.wlw.netui.tags.rendering.TagHtmlBase
renderAttributes
 
Methods inherited from class com.bea.wlw.netui.tags.rendering.TagRenderingBase
getDefaultDocType, renderAttribute, renderAttributes, renderAttributeSingleQuotes, renderEndTag, renderGeneral, renderTag, setDefaultDocType, setDefaultDocType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseTag

public BaseTag()
Method Detail

add

public static void add(HashMap html,
                       HashMap htmlQuirks,
                       HashMap xhtml)

doStartTag

public void doStartTag(weblogic.utils.UnsyncStringBuffer sb,
                       AbstractTagState renderState)
Description copied from class: TagRenderingBase
Render the start tag for an element. The element will render the tag and all of it's attributes into a StringBuffer.

Specified by:
doStartTag in class TagRenderingBase
Parameters:
sb - A StringBuffer where the element start tag is appended.
renderState - The state assocated with the element.

doEndTag

public void doEndTag(weblogic.utils.UnsyncStringBuffer sb)
Description copied from class: TagRenderingBase
Render the end tag for an element. The end tag will be rendered if the tag requires an end tag.

Specified by:
doEndTag in class TagRenderingBase
Parameters:
sb - A StringBuffer where the element end tag may be appended.

writeEnd

protected abstract void writeEnd(weblogic.utils.UnsyncStringBuffer sb)

BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs.