com.liferay.taglib.ui
Class PngImageTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bycom.liferay.taglib.util.ParamAncestorTagImpl
              extended bycom.liferay.taglib.util.IncludeTag
                  extended bycom.liferay.taglib.ui.PngImageTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, ParamAncestorTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class PngImageTag
extends IncludeTag

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
PngImageTag()
           
 
Method Summary
 int doEndTag()
           
static void doTag(java.lang.String image, java.lang.String height, java.lang.String width, javax.servlet.ServletContext ctx, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
static void doTag(java.lang.String page, java.lang.String image, java.lang.String height, java.lang.String width, javax.servlet.ServletContext ctx, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
protected  java.lang.String getDefaultPage()
           
 void setHeight(java.lang.String height)
           
 void setImage(java.lang.String image)
           
 void setWidth(java.lang.String width)
           
 
Methods inherited from class com.liferay.taglib.util.IncludeTag
getPage, isTheme, setPage
 
Methods inherited from class com.liferay.taglib.util.ParamAncestorTagImpl
addParam, clearParams, getParams, getServletContext, getServletRequest, getServletResponse, include
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

PngImageTag

public PngImageTag()
Method Detail

doTag

public static void doTag(java.lang.String image,
                         java.lang.String height,
                         java.lang.String width,
                         javax.servlet.ServletContext ctx,
                         javax.servlet.http.HttpServletRequest req,
                         javax.servlet.http.HttpServletResponse res)
                  throws java.io.IOException,
                         javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

doTag

public static void doTag(java.lang.String page,
                         java.lang.String image,
                         java.lang.String height,
                         java.lang.String width,
                         javax.servlet.ServletContext ctx,
                         javax.servlet.http.HttpServletRequest req,
                         javax.servlet.http.HttpServletResponse res)
                  throws java.io.IOException,
                         javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class IncludeTag
Throws:
javax.servlet.jsp.JspException

setImage

public void setImage(java.lang.String image)

setHeight

public void setHeight(java.lang.String height)

setWidth

public void setWidth(java.lang.String width)

getDefaultPage

protected java.lang.String getDefaultPage()
Overrides:
getDefaultPage in class IncludeTag