|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jelly.TagSupport org.apache.commons.jelly.tags.util.ReplaceTag
A tag that replaces occurrences of a character or string in its body or (or value) and places the result into the context
Field Summary |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
ReplaceTag()
|
Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
|
java.lang.String |
getNew()
Returns the newString that will be replaced. |
java.lang.String |
getNewChar()
Returns the newChar used in replacing. |
java.lang.String |
getOld()
Returns the oldString that will be replaced. |
java.lang.String |
getOldChar()
Returns the oldChar that will be replaced. |
org.apache.commons.jelly.expression.Expression |
getValue()
Returns the value. |
java.lang.String |
getVar()
Returns the var. |
void |
setNew(java.lang.String newString)
Sets the newString. |
void |
setNewChar(java.lang.String newChar)
Sets the newChar. |
void |
setOld(java.lang.String oldString)
Sets the oldString. |
void |
setOldChar(java.lang.String oldChar)
Sets the oldChar. |
void |
setValue(org.apache.commons.jelly.expression.Expression value)
Sets the value. |
void |
setVar(java.lang.String var)
Sets the var. |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReplaceTag()
Method Detail |
public void doTag(org.apache.commons.jelly.XMLOutput output) throws org.apache.commons.jelly.MissingAttributeException, org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.MissingAttributeException
org.apache.commons.jelly.JellyTagException
public java.lang.String getNewChar()
public java.lang.String getOldChar()
public java.lang.String getNew()
public java.lang.String getOld()
public org.apache.commons.jelly.expression.Expression getValue()
public java.lang.String getVar()
public void setNewChar(java.lang.String newChar)
newChar
- The newChar to setpublic void setOldChar(java.lang.String oldChar)
oldChar
- The oldChar to setpublic void setNew(java.lang.String newString)
newString
- The newString to setpublic void setOld(java.lang.String oldString)
oldString
- The oldString to setpublic void setValue(org.apache.commons.jelly.expression.Expression value)
value
- The value to setpublic void setVar(java.lang.String var)
var
- The var to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |