| java.lang.Object org.apache.beehive.netui.tags.rendering.TagRenderingBase
All known Subclasses: org.apache.beehive.netui.tags.rendering.TagHtmlBase,
TagRenderingBase | abstract public class TagRenderingBase (Code) | | |
Inner Class :public static class Factory | |
Method Summary | |
abstract public void | doEndTag(AbstractRenderAppender sb) Render the end tag for an element. | abstract public void | doStartTag(AbstractRenderAppender sb, AbstractTagState renderState) Render the start tag for an element. | public static String | getAmp(ServletRequest req) | public static int | getDefaultDocType() | final protected void | renderAttribute(AbstractRenderAppender buf, String name, String value) This method will append an attribute value to a InternalStringBuilder.
The method assumes that the attr is not null . | final protected void | renderAttributeSingleQuotes(AbstractRenderAppender buf, String name, String value) | 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. | final protected void | renderAttributes(int type, AbstractRenderAppender sb, AbstractAttributeState state) | final protected void | renderEndTag(AbstractRenderAppender buf, String name) | protected void | renderGeneral(HashMap map, AbstractRenderAppender sb, boolean doubleQuote) This method will render all of the general attributes. | final protected void | renderTag(AbstractRenderAppender buf, String name) | public static void | setDefaultDocType(DocType docType) | final protected void | write(PageContext pc, String string) |
ANCHOR_TAG | final public static Object ANCHOR_TAG(Code) | | Token identifying the Anchor Renderer <a>
|
HTML_RENDERING | final public static int HTML_RENDERING(Code) | | Identifier for HTML 4.01 Rendering
|
HTML_RENDERING_QUIRKS | final public static int HTML_RENDERING_QUIRKS(Code) | | Identifier for HTML 4.01 Rendering in Quirks mode
|
INPUT_BOOLEAN_TAG | final public static Object INPUT_BOOLEAN_TAG(Code) | | |
INPUT_FILE_TAG | final public static Object INPUT_FILE_TAG(Code) | | |
INPUT_HIDDEN_TAG | final public static Object INPUT_HIDDEN_TAG(Code) | | |
INPUT_IMAGE_TAG | final public static Object INPUT_IMAGE_TAG(Code) | | |
INPUT_SUBMIT_TAG | final public static Object INPUT_SUBMIT_TAG(Code) | | |
INPUT_TEXT_TAG | final public static Object INPUT_TEXT_TAG(Code) | | |
UNKNOWN_RENDERING | final public static int UNKNOWN_RENDERING(Code) | | Unknown Rendering
|
XHTML_RENDERING | final public static int XHTML_RENDERING(Code) | | Identifier for XHTML Transitional Rendering
|
doEndTag | abstract public void doEndTag(AbstractRenderAppender sb)(Code) | | Render the end tag for an element. The end tag will be rendered if the tag requires an end tag.
Parameters: sb - A InternalStringBuilder where the element end tag may be appended. |
doStartTag | abstract public void doStartTag(AbstractRenderAppender sb, AbstractTagState renderState)(Code) | | Render the start tag for an element. The element will render the tag and all of it's
attributes into a InternalStringBuilder.
Parameters: sb - A InternalStringBuilder where the element start tag is appended. Parameters: renderState - The state assocated with the element. |
getDefaultDocType | public static int getDefaultDocType()(Code) | | |
renderAttribute | final protected void renderAttribute(AbstractRenderAppender buf, String name, String value)(Code) | | This method will append an attribute value to a InternalStringBuilder.
The method assumes that the attr is not null . If the
value attribute is null the attribute will not be appended to the
InternalStringBuilder .
Parameters: buf - The InternalStringBuilder to append the attribute into. Parameters: name - The name of the attribute Parameters: value - The value of teh attribute. If this is null the attribute will not be written. |
renderAttributes | protected void renderAttributes(int type, AbstractRenderAppender sb, AbstractAttributeState state, boolean doubleQuote)(Code) | | 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.
Parameters: type - an integer key indentifying the map |
setDefaultDocType | public static void setDefaultDocType(DocType docType)(Code) | | |
|
|