org.owasp.esapi.tags
Class EncodeForVBScriptTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.owasp.esapi.tags.BaseEncodeTag
              extended by org.owasp.esapi.tags.EncodeForVBScriptTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class EncodeForVBScriptTag
extends BaseEncodeTag

JSP tag that encode's it's body for use in VBScript.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
EncodeForVBScriptTag()
           
 
Method Summary
protected  java.lang.String encode(java.lang.String content, Encoder enc)
          Encode tag's content for usage in VBScript.
 
Methods inherited from class org.owasp.esapi.tags.BaseEncodeTag
doAfterBody
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, 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, setPageContext, setParent
 

Constructor Detail

EncodeForVBScriptTag

public EncodeForVBScriptTag()
Method Detail

encode

protected java.lang.String encode(java.lang.String content,
                                  Encoder enc)
Encode tag's content for usage in VBScript.

Specified by:
encode in class BaseEncodeTag
Parameters:
content - The tag's content as a String
enc - Encoder used to call Encoder.encodeForVBScript(String)
Returns:
content encoded for usage in VBScript


Copyright © 2011 The Open Web Application Security Project (OWASP). All Rights Reserved.