Package com.appslandia.plum.tags
Class UITagBase
- java.lang.Object
-
- com.appslandia.plum.tags.TagBase
-
- com.appslandia.plum.tags.UITagBase
-
- All Implemented Interfaces:
javax.servlet.jsp.tagext.DynamicAttributes,javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.tagext.SimpleTag
- Direct Known Subclasses:
ActionImageTag,ActionLinkTag,ButtonLinkTag,ButtonTag,CaptchaWordsTag,CheckGroupTag,CheckMarkTag,ControlTag,DataListTag,FieldErrorTag,FieldLabelTag,FormErrorsTag,FormTag,MailtoTag,PagerTag,SubmitButtonTag,ValueTagBase,VerBarTag
public abstract class UITagBase extends TagBase implements javax.servlet.jsp.tagext.DynamicAttributes
- Author:
- Loc Ha
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringclazzprotected Stringdatatagprotected Map<String,Object>dynamicAttributesprotected booleanhiddenprotected Stringidprotected booleanrenderprotected Stringstyleprotected Stringtitle-
Fields inherited from class com.appslandia.plum.tags.TagBase
jspBody, pageContext, parentTag
-
-
Constructor Summary
Constructors Constructor Description UITagBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voiddoTag()protected abstract StringgetTagName()protected booleanhasBody()protected abstract voidinitTag()voidsetClazz(String clazz)voidsetDatatag(Object datatag)voidsetDynamicAttribute(String uri, String name, Object value)voidsetHidden(boolean hidden)voidsetId(String id)voidsetRender(boolean render)voidsetStyle(String style)voidsetTitle(String title)protected abstract voidwriteAttributes(javax.servlet.jsp.JspWriter out)protected voidwriteBody(javax.servlet.jsp.JspWriter out)protected voidwriteDynamicAttributes(javax.servlet.jsp.JspWriter out)protected voidwriteTag(javax.servlet.jsp.JspWriter out)-
Methods inherited from class com.appslandia.plum.tags.TagBase
evalJspBody, getModelState, getPageContext, getParent, getRequest, getRequestContext, getResponse, setJspBody, setJspContext, setParent
-
-
-
-
Method Detail
-
doTag
public void doTag() throws javax.servlet.jsp.JspException, IOException- Specified by:
doTagin interfacejavax.servlet.jsp.tagext.SimpleTag- Throws:
javax.servlet.jsp.JspExceptionIOException
-
writeAttributes
protected abstract void writeAttributes(javax.servlet.jsp.JspWriter out) throws javax.servlet.jsp.JspException, IOException- Throws:
javax.servlet.jsp.JspExceptionIOException
-
writeDynamicAttributes
protected void writeDynamicAttributes(javax.servlet.jsp.JspWriter out) throws javax.servlet.jsp.JspException, IOException- Throws:
javax.servlet.jsp.JspExceptionIOException
-
setDynamicAttribute
public void setDynamicAttribute(String uri, String name, Object value) throws javax.servlet.jsp.JspException
- Specified by:
setDynamicAttributein interfacejavax.servlet.jsp.tagext.DynamicAttributes- Throws:
javax.servlet.jsp.JspException
-
initTag
protected abstract void initTag() throws javax.servlet.jsp.JspException, IOException- Throws:
javax.servlet.jsp.JspExceptionIOException
-
getTagName
protected abstract String getTagName()
-
hasBody
protected boolean hasBody()
-
writeBody
protected void writeBody(javax.servlet.jsp.JspWriter out) throws javax.servlet.jsp.JspException, IOException- Throws:
javax.servlet.jsp.JspExceptionIOException
-
writeTag
protected void writeTag(javax.servlet.jsp.JspWriter out) throws javax.servlet.jsp.JspException, IOException- Throws:
javax.servlet.jsp.JspExceptionIOException
-
setId
@Attribute(required=false, rtexprvalue=true) public void setId(String id)
-
setHidden
@Attribute(required=false, rtexprvalue=true) public void setHidden(boolean hidden)
-
setDatatag
@Attribute(required=false, rtexprvalue=true) public void setDatatag(Object datatag)
-
setClazz
@Attribute(required=false, rtexprvalue=true) public void setClazz(String clazz)
-
setStyle
@Attribute(required=false, rtexprvalue=true) public void setStyle(String style)
-
setTitle
@Attribute(required=false, rtexprvalue=true) public void setTitle(String title)
-
setRender
@Attribute(required=false, rtexprvalue=true) public void setRender(boolean render)
-
-