|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.taglib.BaseTransformationTag
com.sas.taglib.servlet.tbeans.BaseTransformationTag
The base object for all tag handlers in the SAS Custom Tag Library that are used as
wrappers for TransformationBeans.
public class BaseTransformationTag
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_CLIENT_INFO_INSTANCE
Deprecated. Static String reference of the default ClientInfo instance to be used in the PageContext. |
static java.lang.String |
HDML
Deprecated. Static String reference of the "hdml" render type. |
static java.lang.String |
HTML
Deprecated. Static String reference of the "html" render type. |
static java.lang.String |
WML
Deprecated. Static String reference of the "wml" render type. |
Fields inherited from class com.sas.taglib.BaseTag |
---|
APPLICATION, PAGE, RB_KEY, REQUEST, SESSION |
Constructor Summary | |
---|---|
BaseTransformationTag()
Deprecated. |
Method Summary | |
---|---|
protected void |
applyAttributes()
Deprecated. Sets the basic attributes (request,name,prolog,epilog) common to all Transformation Beans. |
int |
doEndTag()
Deprecated. This Method Overrides the javax.servlet.jsp.tagext.TagSupport doEndTag Method. |
int |
doStartTag()
Deprecated. This Method Overrides the javax.servlet.jsp.tagext.TagSupport doStartTag Method. |
java.lang.String |
getCustomAttributes()
Deprecated. Gets the customAttributes attribute (String) for a custom tag. |
java.lang.String |
getEpilog()
Deprecated. Returns the epilog if specified, otherwise null. |
java.lang.String |
getName()
Deprecated. Returns the name for the custom tag |
java.lang.String |
getProlog()
Deprecated. Returns the prolog if specified, otherwise null. |
boolean |
getRender()
Deprecated. Returns true if the custom tag should render it's information immediately, or false otherwise. |
java.lang.String |
getRenderType()
Deprecated. Gets the render type property for the custom tag. |
java.lang.String |
getStyle()
Deprecated. Get the style String (primarily for HTML). |
java.lang.String |
getStyleClass()
Deprecated. Get the style class String (primarily for HTML). |
protected void |
initialize(boolean includeAttributes)
Deprecated. Initializes attributes and variables for this tag handler. |
void |
setCustomAttributes(java.lang.String customAttributes)
Deprecated. Sets the customAttributes attribute (String) for a custom tag. |
void |
setEpilog(java.lang.String epilog)
Deprecated. Sets the epilog attribute (String) for a custom tag. |
void |
setName(java.lang.String name)
Deprecated. Sets the name attribute for a custom tag. |
void |
setProlog(java.lang.String prolog)
Deprecated. Sets the prolog attribute (String) for a custom tag. |
void |
setRender(boolean render)
Deprecated. Sets the render property (boolean) from a tag attribute. |
void |
setRenderType(java.lang.String renderType)
Deprecated. Sets the rendertype property (String) from a tag attribute. |
void |
setStyle(java.lang.String style)
Deprecated. Set the String that is used as the value of the STYLE attribute on an HTML or XHTML markup tag. |
void |
setStyleClass(java.lang.String styleClass)
Deprecated. Set the String that is used as the value of the CLASS attribute on an HTML or XHTML markup tag. |
Field Detail |
---|
public static final java.lang.String DEFAULT_CLIENT_INFO_INSTANCE
public static final java.lang.String HTML
public static final java.lang.String HDML
public static final java.lang.String WML
Constructor Detail |
---|
public BaseTransformationTag()
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.public void setRenderType(java.lang.String renderType)
rendertype
- Type of markup for the output tag(s).public void setStyle(java.lang.String style)
style
- Value assigned to the output tag's style attribute to implement an inline style. For example, style="color:black;font-size:20pt;"public void setStyleClass(java.lang.String styleClass)
styleClass
- Value assigned to the output tag's class attribute that corresponds to a CSS stylesheet class. For example, class="myMenu".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 getStyle()
public java.lang.String getStyleClass()
protected void initialize(boolean includeAttributes)
initialize
in class BaseTag
includeAttributes
- Set to true if attributes are to be set to default values.protected void applyAttributes() throws javax.servlet.jsp.JspException
applyAttributes
in class BaseTag
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 BaseTag
javax.servlet.jsp.JspException
- Thrown if a JspException occurs.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.TagSupport
javax.servlet.jsp.JspException
TagSupport.doEndTag()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |