org.apache.beehive.netui.tags.rendering
Class TagHtmlBase

Object
  extended by TagRenderingBase
      extended by TagHtmlBase
Direct Known Subclasses:
AnchorTag, AreaTag, BaseTag, BodyTag, CaptionTag, DivTag, FormTag, HtmlTag, ImageTag, InputBooleanTag, InputFileTag, InputHiddenTag, InputImageTag, InputSubmitTag, InputTextTag, LabelTag, OptionTag, ScriptTag, SelectTag, SpanTag, TableTag, TBodyTag, TdTag, TextAreaTag, TFootTag, THeadTag, ThTag, TrTag

public abstract class TagHtmlBase
extends TagRenderingBase


Nested Class Summary
 
Nested classes/interfaces inherited from class TagRenderingBase
TagRenderingBase.Factory
 
Field Summary
 
Fields inherited from class TagRenderingBase
ANCHOR_TAG, AREA_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, SCRIPT_TAG, SELECT_TAG, SPAN_TAG, TABLE_TAG, TBODY_TAG, TD_TAG, TEXT_AREA_TAG, TFOOT_TAG, TH_TAG, THEAD_TAG, TR_TAG, UNKNOWN_RENDERING, XHTML_RENDERING
 
Constructor Summary
TagHtmlBase()
           
 
Method Summary
protected  void renderAttributes(int type, AbstractRenderAppender sb, AbstractAttributeState state, boolean doubleQuote)
          Render all of the attributes defined in a map and return the string value.
 
Methods inherited from class TagRenderingBase
doEndTag, doStartTag, getAmp, getDefaultDocType, renderAttribute, renderAttributes, renderAttributeSingleQuotes, renderEndTag, renderGeneral, renderTag, setDefaultDocType, write
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagHtmlBase

public TagHtmlBase()
Method Detail

renderAttributes

protected void renderAttributes(int type,
                                AbstractRenderAppender sb,
                                AbstractAttributeState state,
                                boolean doubleQuote)
Render all of the attributes defined in a map and return the string value. The attributes are rendered with in a name="value" style supported by XML.

Overrides:
renderAttributes in class TagRenderingBase
Parameters:
type - an integer key indentifying the map