|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.taglib.servlet.tbeans.BaseTransformationBodyTag
public abstract class BaseTransformationBodyTag
The base object for all body tag support handlers in the SAS Custom Tag Library that are used as wrappers for TransformationBeans.
Field Summary |
---|
Fields inherited from class com.sas.taglib.BaseBodyTag |
---|
DELIMITERS, RB_KEY |
Constructor Summary | |
---|---|
BaseTransformationBodyTag()
Default constuctor |
Method Summary | |
---|---|
protected void |
applyAttributes()
Sets the basic attributes (request,name,prolog,epilog) common to all Transformation Beans. |
int |
doEndTag()
This Method Overrides the javax.servlet.jsp.tagext.TagSupport doEndTag Method. |
int |
doStartTag()
This Method Overrides the javax.servlet.jsp.tagext.TagSupport doStartTag Method. |
java.lang.String |
getCustomAttributes()
Gets the customAttributes attribute (String) for a custom tag. |
java.lang.String |
getEpilog()
Returns the epilog if specified, otherwise null. |
java.util.Locale |
getLocale()
Get the locale |
java.lang.String |
getName()
Returns the name for the custom tag |
java.lang.String |
getObjectDataProperty()
Get the objectDataProperty String. |
java.lang.String |
getProlog()
Returns the prolog if specified, otherwise null. |
boolean |
getRender()
Returns true if the custom tag should render it's information immediately, or false otherwise. |
java.lang.String |
getRenderType()
Gets the render type property for the custom tag. |
protected void |
initialize(boolean includeAttributes)
Initializes attributes and variables for this tag handler. |
void |
setCustomAttributes(java.lang.String customAttributes)
Sets the customAttributes attribute (String) for a custom tag. |
void |
setEpilog(java.lang.String epilog)
Sets the epilog attribute (String) for a custom tag. |
void |
setLocale(java.util.Locale locale)
Set the locale |
void |
setName(java.lang.String name)
Sets the name attribute for a custom tag. |
void |
setObjectDataProperty(java.lang.String property)
Set the String that is used as the value of the ObjectData attribute. |
void |
setProlog(java.lang.String prolog)
Sets the prolog attribute (String) for a custom tag. |
void |
setRender(boolean render)
Sets the render property (boolean) from a tag attribute. |
void |
setRenderType(java.lang.String renderType)
Sets the rendertype property (String) from a tag attribute. |
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 BaseTransformationBodyTag()
Method Detail |
---|
public void setCustomAttributes(java.lang.String customAttributes)
customAttributes
- a list of attributes in the form of attribute="value", space delimitedpublic void setEpilog(java.lang.String epilog)
epilog
- Text that is output immediately after the last markup tag.public void setName(java.lang.String name)
Note: If a name is not specified, then id will be used if available.
name
- Value assigned to the markup tag's name attribute.public void setProlog(java.lang.String prolog)
prolog
- Text that is output immediately preceeding the first markup tag.public void setRender(boolean render)
<sas:checkbox id="cb" name="color" value="blue" label="blue" render="false"/>
<sas:checkbox ref="cb" />
<sas:checkbox id="cb" name="color" value="blue" label="blue" render="false"/>
<% cb.write(out); %>
render
- Flag that, if true, indicates that the complete markup of the bean is output when the tag is closed.
It also sets the the visible property on the underlying TransformationBean.public void setRenderType(java.lang.String renderType)
rendertype
- Type of markup for the output tag(s).public void setObjectDataProperty(java.lang.String property)
property
- Value assigned to the output tag's objectDataProperty attribute.public void setLocale(java.util.Locale locale)
setLocale
in class BaseBodyTag
locale
- Specifies the locale to use for this instance of the class.public java.lang.String getCustomAttributes()
public java.lang.String getEpilog()
public java.lang.String getName()
public java.lang.String getProlog()
public boolean getRender()
public java.lang.String getRenderType()
public java.lang.String getObjectDataProperty()
public java.util.Locale getLocale()
getLocale
in class BaseBodyTag
protected void initialize(boolean includeAttributes)
initialize
in class BaseBodyTag
includeAttributes
- Set to true if attributes are to be set to default values.protected void applyAttributes() throws javax.servlet.jsp.JspException
applyAttributes
in class BaseBodyTag
baseTag
- Any class which extends TransformationInterface 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 BaseBodyTag
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 javax.servlet.jsp.tagext.BodyTagSupport
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 |