net.sf.portions.taglib
Class EncodeURLTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bynet.sf.portions.taglib.EncodeURLTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class EncodeURLTag
extends javax.servlet.jsp.tagext.TagSupport

Etiqueta que permite codificar una url para inserción de elementos estáticos

Version:
1.0 01 Jan 2007
Author:
Raúl Herranz
See Also:
Serialized Form

Field Summary
private  org.apache.commons.logging.Log log
           
private static long serialVersionUID
          Identificador universal de la versión de la clase
private  java.lang.String url
          URL a codificar
 
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
EncodeURLTag()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 void setUrl(java.lang.String url)
          Establece el valor de la propiedad url.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, 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
 

Field Detail

log

private org.apache.commons.logging.Log log

serialVersionUID

private static final long serialVersionUID
Identificador universal de la versión de la clase

See Also:
Constant Field Values

url

private java.lang.String url
URL a codificar

Constructor Detail

EncodeURLTag

public EncodeURLTag()
Method Detail

setUrl

public void setUrl(java.lang.String url)
Establece el valor de la propiedad url.

Parameters:
url - El valor de url a establecer.

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException
See Also:
TagSupport.doStartTag()

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException
See Also:
TagSupport.doEndTag()