Content Class

com.bea.wlw.netui.tags.html
Content Class

public class Content

    extends AbstractBaseTag

The Content tag is used to display text, or the result of an expression, to the page.

Attribute Descriptions
AttributeRequiredRuntime Expression EvaluationData Bindable
valueYesNoRead Only
The expression or value to be used to output the content.

Related Topics

<netui:content> Tag Sample
Label


Hierarchy
Object
  TagSupport
    BodyTagSupport
      AbstractBaseTag
        Content
All Implemented Interfaces

BodyTag, IterationTag, Serializable, Tag

Field Summary

   
Fields from  com.bea.wlw.netui.tags.AbstractBaseTag
ATTR_GENERAL, ATTR_GENERAL_EXPRESSION, ATTR_JAVASCRIPT, ATTR_STYLE, CLASS, ID, JAVASCRIPT_STATUS, NAME, NETUI_UNIQUE_CNT, ONCLICK, ONDBLCLICK, ONKEYDOWN, ONKEYPRESS, ONKEYUP, ONMOUSEDOWN, ONMOUSEMOVE, ONMOUSEOUT, ONMOUSEOVER, ONMOUSEUP, STYLE, TABINDEX
 
Fields from  javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields from  javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 

Constructor Summary

Content()

 

Method Summary

public int
doEndTag()
Render the content.
public String
getDefaultValue()
Return the default value of this Content.
public String
getTagName()
Return the name of the Tag.
public String
getValue()
Return the value of this Content.
protected void
localRelease()
Release any acquired resources.
public void
setDefaultValue(String defaultValue)
Set the default value of this Content.
public void
setValue(String value)
Set the value of this Content.
 
Methods from  com.bea.wlw.netui.tags.AbstractBaseTag
addTagIdMapping, evaluateAttributeToString, filter, filter, getJavaScriptUtils, getNearestForm, getScriptReporter, getUserLocale, registerTagError, release, renderAttribute, rewriteName, write
 
Methods from  javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods from  javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface javax.servlet.jsp.tagext.BodyTag
doInitBody, setBodyContent
 
Methods from interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
 
Methods from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, release, setPageContext, setParent
 

Constructor Detail

Content

public Content()
 

Method Detail

doEndTag() Method

public int doEndTag()
throws JspException
Render the content.

Overrides
BodyTagSupport.doEndTag()

Exceptions

JspException
if a JSP exception has occurred

getDefaultValue() Method

public String getDefaultValue()
Return the default value of this Content.

Returns

the Content's default value

getTagName() Method

public String getTagName()
Return the name of the Tag.

Overrides
AbstractBaseTag.getTagName()

getValue() Method

public String getValue()
Return the value of this Content.

Returns

the Content's value

localRelease() Method

protected void localRelease()
Release any acquired resources.

Overrides
AbstractBaseTag.localRelease()

setDefaultValue(String) Method

public void setDefaultValue(String defaultValue)
Set the default value of this Content.

Parameters

defaultValue
- the default value

setValue(String) Method

public void setValue(String value)
Set the value of this Content.

Parameters

value
- the Content value