org.apache.pluto.tags
Class ResourceURLTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.apache.pluto.tags.BaseURLTag
org.apache.pluto.tags.ResourceURLTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class ResourceURLTag
- extends BaseURLTag
A tag handler for the resourceURL
tag,which creates a url that
points to the current Portlet and triggers a resource request with the
supplied parameters.
- Version:
- 2.0
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
pageContext |
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 |
Methods inherited from class org.apache.pluto.tags.BaseURLTag |
addParameter, addProperty, doEscapeXml, getEscapeXml, getSecure, getSecureBoolean, getVar, release, setEscapeXml, setSecure, setUrlParameters, setUrlProperties, setVar |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceURLTag
public ResourceURLTag()
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Specified by:
doStartTag
in class BaseURLTag
- Throws:
javax.servlet.jsp.JspException
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Specified by:
doEndTag
in class BaseURLTag
- Throws:
javax.servlet.jsp.JspException
getUrl
public ResourceURL getUrl()
- Gets the url property.
- Returns:
- BaseURL
setUrl
public void setUrl(ResourceURL url)
- Sets the url porperty.
- Parameters:
url
- BaseUrl - The url to set.
getId
public java.lang.String getId()
- Overrides:
getId
in class javax.servlet.jsp.tagext.TagSupport
- Returns:
- the id
setId
public void setId(java.lang.String id)
- Overrides:
setId
in class javax.servlet.jsp.tagext.TagSupport
- Parameters:
id
- the id to set
getCachability
public java.lang.String getCachability()
- Returns:
- the cachability
setCachability
public void setCachability(java.lang.String cachability)
- Parameters:
cachability
- the cachability to set
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.