com.liferay.taglib.ui
Class SocialBookmarkTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl
              extended by com.liferay.taglib.util.IncludeTag
                  extended by com.liferay.taglib.ui.SocialBookmarkTag
All Implemented Interfaces:
ParamAncestorTag, PropertyAncestorTag, com.sun.portal.portletcontainer.taglib.ParamBaseTag, com.sun.portal.portletcontainer.taglib.PropertyBaseTag, java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class SocialBookmarkTag
extends IncludeTag

View Source

Author:
David Truong, Jorge Ferrer
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
SocialBookmarkTag()
           
 
Method Summary
 int doEndTag()
           
static java.lang.String doTag(java.lang.String type, java.lang.String url, java.lang.String title, java.lang.String target, javax.servlet.jsp.PageContext pageContext)
           
static java.lang.String doTag(java.lang.String page, java.lang.String type, java.lang.String url, java.lang.String title, java.lang.String target, javax.servlet.jsp.PageContext pageContext)
           
protected  java.lang.String getDefaultPage()
           
 void setTarget(java.lang.String target)
           
 void setTitle(java.lang.String title)
           
 void setType(java.lang.String type)
           
 void setUrl(java.lang.String url)
           
 
Methods inherited from class com.liferay.taglib.util.IncludeTag
getPage, getServletContext, isTheme, setPage, setServletContext
 
Methods inherited from class com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl
addParam, addProperty, clearParams, clearProperties, getParams, getProperties, 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

SocialBookmarkTag

public SocialBookmarkTag()
Method Detail

doTag

public static java.lang.String doTag(java.lang.String type,
                                     java.lang.String url,
                                     java.lang.String title,
                                     java.lang.String target,
                                     javax.servlet.jsp.PageContext pageContext)
                              throws java.lang.Exception
Throws:
java.lang.Exception

doTag

public static java.lang.String doTag(java.lang.String page,
                                     java.lang.String type,
                                     java.lang.String url,
                                     java.lang.String title,
                                     java.lang.String target,
                                     javax.servlet.jsp.PageContext pageContext)
                              throws java.lang.Exception
Throws:
java.lang.Exception

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

setType

public void setType(java.lang.String type)

setUrl

public void setUrl(java.lang.String url)

setTitle

public void setTitle(java.lang.String title)

setTarget

public void setTarget(java.lang.String target)

getDefaultPage

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