org.apache.taglibs.string
Class QuoteRegexpTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--org.apache.taglibs.string.StringTagSupport
                    |
                    +--org.apache.taglibs.string.QuoteRegexpTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class QuoteRegexpTag
extends StringTagSupport

Quote a String so that it will pass through a regular expression as a constant.

Author:
bayard@generationjava.com
See Also:
Serialized Form

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_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
QuoteRegexpTag()
           
 
Method Summary
 java.lang.String changeString(java.lang.String text)
          Perform an operation on the passed in String.
 void initAttributes()
          Initialise any properties to default values.
 
Methods inherited from class org.apache.taglibs.string.StringTagSupport
doEndTag, getVar, setVar
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, 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

QuoteRegexpTag

public QuoteRegexpTag()
Method Detail

changeString

public java.lang.String changeString(java.lang.String text)
Description copied from class: StringTagSupport
Perform an operation on the passed in String.
Overrides:
changeString in class StringTagSupport
Following copied from class: org.apache.taglibs.string.StringTagSupport
Parameters:
str - String to be manipulated
Returns:
String result of operation upon passed in String

initAttributes

public void initAttributes()
Description copied from class: StringTagSupport
Initialise any properties to default values. This method is called upon construction, and after changeString(String) is called. This is a default empty implementation.
Overrides:
initAttributes in class StringTagSupport


Copyright ? 2000 Apache Software Foundation. All Rights Reserved.