railo.runtime.ext.tag
Class TagImpl

java.lang.Object
  extended by railo.runtime.ext.tag.TagImpl
All Implemented Interfaces:
javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
_Mail, Abort, Admin, AjaxImport, AjaxProxy, Applet, Application, Associate, Authenticate, BodyTagImpl, Calendar, CFXTag, Chartdata, Col, Collection, Cookie, DBInfo, Directory, Dump, Error, Exit, Feed, FileTag, Flush, Forward, Ftp, Graph, GraphData, GridColumn, GridRow, GridUpdate, Header, HtmlHead, HttpParam, Image, ImportTag, Index, Input, Insert, InvokeArgument, Ldap, Location, Log, Loginuser, Logout, MailParam, NTAuthenticate, ObjectCache, ObjectTag, PageEncoding, Param, PDFParam, Property, QueryParam, Registry, ReportParam, ReThrow, Schedule, Search, Servlet, ServletParam, Sleep, Slider, Sprite, TextInput, Throw, TreeItem, Update, Wddx, ZipParam

public abstract class TagImpl
extends Object
implements javax.servlet.jsp.tagext.Tag

Implementation of the Tag


Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
TagImpl()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 javax.servlet.jsp.tagext.Tag getParent()
           
 void release()
           
 void required(String tagName, String attributeName, Object attribute)
           
 void required(String tagName, String actionName, String attributeName, double attributeValue, double nullValue)
           
 void required(String tagName, String actionName, String attributeName, Object attribute)
          check if value is not empty
 void required(String tagName, String actionName, String attributeName, String attribute, boolean trim)
           
 void setPageContext(javax.servlet.jsp.PageContext pageContext)
           
 void setPageContext(PageContextImpl pageContext)
          sets a Railo PageContext
 void setParent(javax.servlet.jsp.tagext.Tag parent)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagImpl

public TagImpl()
Method Detail

setPageContext

public void setPageContext(PageContextImpl pageContext)
sets a Railo PageContext

Parameters:
pageContext -

setPageContext

public void setPageContext(javax.servlet.jsp.PageContext pageContext)
Specified by:
setPageContext in interface javax.servlet.jsp.tagext.Tag
See Also:
Tag.setPageContext(javax.servlet.jsp.PageContext)

setParent

public void setParent(javax.servlet.jsp.tagext.Tag parent)
Specified by:
setParent in interface javax.servlet.jsp.tagext.Tag
See Also:
Tag.setParent(javax.servlet.jsp.tagext.Tag)

getParent

public javax.servlet.jsp.tagext.Tag getParent()
Specified by:
getParent in interface javax.servlet.jsp.tagext.Tag
See Also:
Tag.getParent()

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Throws:
javax.servlet.jsp.JspException
See Also:
Tag.doStartTag()

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Throws:
javax.servlet.jsp.JspException
See Also:
Tag.doEndTag()

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
See Also:
Tag.release()

required

public void required(String tagName,
                     String actionName,
                     String attributeName,
                     Object attribute)
              throws ApplicationException
check if value is not empty

Parameters:
tagName -
attributeName -
attribute -
Throws:
ApplicationException

required

public void required(String tagName,
                     String attributeName,
                     Object attribute)
              throws ApplicationException
Throws:
ApplicationException

required

public void required(String tagName,
                     String actionName,
                     String attributeName,
                     String attribute,
                     boolean trim)
              throws ApplicationException
Throws:
ApplicationException

required

public void required(String tagName,
                     String actionName,
                     String attributeName,
                     double attributeValue,
                     double nullValue)
              throws ApplicationException
Throws:
ApplicationException


Copyright © 2012 Railo