HDIV API 2.0.4

org.hdiv.web.servlet.tags.form
Class CipherTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.hdiv.web.servlet.tags.form.CipherTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

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

Tag to cipher data without using Spring MVC.

Being "hdiv" the identifier used to reference HDIV tag library, the format of the tag will be as follows:
<hdiv:cipher action="a1" parameter="p1" value="v1" />.

The result will be an encoded value that only HDIV can interpretate.

Since:
HDIV 2.0.3
Author:
Gorka Vicente
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
CipherTag()
           
 
Method Summary
 int doStartTag()
          Process the start of this tag.
 void setAction(java.lang.String action)
          Sets the action action defined in the tag.
 void setParameter(java.lang.String parameter)
          Sets the parameter parameter defined in the tag.
 void setValue(java.lang.String value)
          Sets the value value defined in the tag.
 
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

CipherTag

public CipherTag()
Method Detail

setAction

public void setAction(java.lang.String action)
Sets the action action defined in the tag.

Parameters:
action - Action

setParameter

public void setParameter(java.lang.String parameter)
Sets the parameter parameter defined in the tag.

Parameters:
parameter - Parameter

setValue

public void setValue(java.lang.String value)
Sets the value value defined in the tag.

Parameters:
value - Value

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Process the start of this tag.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException - If the attributes passed to the tag are incorrect, an exception will be thrown.
See Also:
()

HDIV 2.0.4

Copyright © 2008 hdiv.org. All Rights Reserved.