© 2005 BEA Systems, Inc.

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

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.bea.struts.adapter.taglib.naming.RewriteNameTag
All Implemented Interfaces:
IterationTag, Serializable, Tag

public class RewriteNameTag
extends TagSupport

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, 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
 
Constructor Summary
RewriteNameTag()
           
 
Method Summary
 int doStartTag()
          Outputs the rewritten name to the response
 String getName()
           
 void setName(String name)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RewriteNameTag

public RewriteNameTag()
Method Detail

doStartTag

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

Returns:
always returns SKIP_BODY since this tag has no body support
Throws:
JspException

getName

public String getName()

setName

public void setName(String name)

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved