org.springframework.extensions.surf.taglib
Class ResourceTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.springframework.extensions.surf.taglib.TagBase
              extended by org.springframework.extensions.surf.taglib.ResourceTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class ResourceTag
extends TagBase

Outputs the requested url representation of a resource Named Resource Examples:

Author:
muzquiano
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
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
ResourceTag()
           
 
Method Summary
 int doStartTag()
           
 String getEndpoint()
           
 String getId()
           
 String getName()
           
 String getObject()
           
 String getPayload()
           
 String getProtocol()
           
 void release()
           
 void setEndpoint(String endpoint)
           
 void setId(String id)
           
 void setName(String name)
           
 void setObject(String object)
           
 void setPayload(String payload)
           
 void setProtocol(String protocol)
           
 
Methods inherited from class org.springframework.extensions.surf.taglib.TagBase
doEndTag, getOut, getPageContext, getRenderContext, getRenderService, getRequestContext, print, setPageContext
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, 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, setParent
 

Constructor Detail

ResourceTag

public ResourceTag()
Method Detail

setName

public void setName(String name)

getName

public String getName()

setId

public void setId(String id)
Overrides:
setId in class javax.servlet.jsp.tagext.TagSupport

getId

public String getId()
Overrides:
getId in class javax.servlet.jsp.tagext.TagSupport

setProtocol

public void setProtocol(String protocol)

getProtocol

public String getProtocol()

setEndpoint

public void setEndpoint(String endpoint)

getEndpoint

public String getEndpoint()

setObject

public void setObject(String object)

getObject

public String getObject()

setPayload

public void setPayload(String payload)

getPayload

public String getPayload()

doStartTag

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

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class TagBase


Copyright © 2009 SpringSource, Inc. All Rights Reserved.