RewriteNameTag Class

com.bea.struts.adapter.taglib.naming
RewriteNameTag Class

public class RewriteNameTag

    extends TagSupport

Tag used to rewrite name's using the current registered URLRewriter via the URLRewriterService


Hierarchy
Object
  TagSupport
    RewriteNameTag
All Implemented Interfaces

IterationTag, Serializable, Tag

Field Summary

   
Fields from  javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 

Constructor Summary

RewriteNameTag()

 

Method Summary

public int
doStartTag()
Outputs the rewritten name to the response
public String
getName()
public void
setName(String name)
 
Methods from  javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
 
Methods from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, release, setPageContext, setParent
 

Constructor Detail

RewriteNameTag

public RewriteNameTag()
 

Method Detail

doStartTag() Method

public int doStartTag()
throws JspException
Outputs the rewritten name to the response

Overrides
TagSupport.doStartTag()

Returns

always returns SKIP_BODY since this tag has no body support

Exceptions

JspException

getName() Method

public String getName()

setName(String) Method

public void setName(String name)