|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.taglib.servlet.tbeans.tableview.CellContentsSimpleTemplateRendererTag
public class CellContentsSimpleTemplateRendererTag
CellContentsSimpleTemplateRendererTag is the tag handler class for the sas:CellContentsSimpleTemplateRenderer custom tag . CellContentsSimpleTemplateRendererTag is invoked by the JSP page to evaluate the sas:CellContentsSimpleTemplateRenderer custom tag during the execution of the page. Tag handler methods are called by the JSP page implementation class at various points during the evaluation of the tag. The tag handler methods in turn call methods on the underlying Transformation Bean object, CellContentsSimpleTemplateRenderer, to execute the methods.
If you need to extend or modify the functionality of the sas:CellContentsSimpleTemplateRenderer custom tag, you can subclass this tag handler class.
For More Information:
Visit the AppDev Studio Developer's Site to access step-by-step examples, white papers and additional usage information at http://support.sas.com/rnd/appdev/.
Refer to the Custom Tag Library Reference for usage information on the sas:CellContentsSimpleTemplateRenderer custom tag.
Note: A snapshot of the AppDev Studio Developers Site is installed on your local Web server when you install AppDev Studio. To access the site from webAF, select Help -> Developer Site.
Field Summary |
---|
Fields inherited from class com.sas.taglib.BaseBodyTag |
---|
DELIMITERS, RB_KEY |
Constructor Summary | |
---|---|
CellContentsSimpleTemplateRendererTag()
|
Method Summary | |
---|---|
protected void |
applyAttributes()
Sets the basic attributes (request,name,prolog,epilog) common to all Transformation Beans. |
int |
doEndTag()
Process the end tag. |
int |
doStartTag()
Processes the start tag for this instance. |
java.lang.String |
getNullTextString()
Gets the nullTextString attribute (String) value to be written when the cell text is null. |
java.lang.String |
getTemplateDictionary()
Returns the object used to specify the template dictionary for this CellContentsRenderer. |
protected void |
initialize(boolean includeAttributes)
Initializes attributes and variables for this tag handler. |
boolean |
isEncodeText()
Gets the encodeText attribute (boolean) indicating whether the cell text will be encoded using com.sas.util.Strings.quoteForXML. |
void |
setEncodeText(boolean encodeText)
Sets the encodedText attribute (boolean) of the CellContentsSimpleTemplateRendererTag indicating whether the cell text will be encoded using com.sas.util.Strings.quoteForXML. |
void |
setNullTextString(java.lang.String nullTextString)
Sets the nullTextString attribute (String) written when the cell text is null. |
void |
setTemplateDictionary(java.lang.String dictionary)
Sets the object used to specify the template dictionary for this CellContentsRenderer. |
Methods inherited from class com.sas.taglib.servlet.tbeans.BaseTransformationBodyTag |
---|
getCustomAttributes, getEpilog, getLocale, getName, getObjectDataProperty, getProlog, getRender, getRenderType, setCustomAttributes, setEpilog, setLocale, setName, setObjectDataProperty, setProlog, setRender, setRenderType |
Methods inherited from class com.sas.taglib.BaseBodyTag |
---|
doCatch, doFinally, getApplyAttributes, getBodyStrings, getCompositeComponentKey, getInstantiate, getPageContext, getRef, getScope, getTagScope, getWrappedClassName, getWrappedObject, getWrappedObject, loadBeanInstance, newInstance, release, removeFromScope, searchContext, setApplyAttributes, setCompositeComponentKey, setInstantiate, setRef, setScope, setTagScope, setVariableWithinScope, setWrappedClassName, setWrappedObject, validate |
Constructor Detail |
---|
public CellContentsSimpleTemplateRendererTag()
Method Detail |
---|
public java.lang.String getTemplateDictionary()
public void setTemplateDictionary(java.lang.String dictionary)
dictionary
- The java.util.HashMap object used to specify the
template dictionary for this CellContentsRendererpublic void setEncodeText(boolean encodeText)
encodeText
- Flag indicating whether to set text encoding.public void setNullTextString(java.lang.String nullTextString)
nullTextString
- The String to be written when the text is nullpublic boolean isEncodeText()
public java.lang.String getNullTextString()
protected void initialize(boolean includeAttributes)
initialize
in class BaseTransformationBodyTag
includeAttributes
- Set to true if attributes are to be set to default values.protected void applyAttributes() throws javax.servlet.jsp.JspException
applyAttributes
in class BaseTransformationBodyTag
baseTag
- Any class which extends BaseTransformation is valid
javax.servlet.jsp.JspException
- Thrown if a JspException occurs.public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class BaseTransformationBodyTag
javax.servlet.jsp.JspException
- Thrown if a JspException occurs.BaseBodyTag.setInstantiate(boolean)
,
TagSupport.doStartTag()
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class BaseTransformationBodyTag
javax.servlet.jsp.JspException
- Thrown if a JspException occurs.TagSupport.doEndTag()
,
BaseBodyTag.setInstantiate(boolean)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |