com.atlassian.crowd.console.tags
Class Text

java.lang.Object
  extended by com.opensymphony.webwork.components.Component
      extended by com.opensymphony.webwork.components.Text
          extended by com.atlassian.crowd.console.tags.Text
All Implemented Interfaces:
com.opensymphony.webwork.components.Param.UnnamedParametric

public class Text
extends com.opensymphony.webwork.components.Text

Extended version of the webwork Text component that allows the encoding of String based parameters.

HTML encoding is done using the TextUtils.htmlEncode(String) to maintain compatibility with other WebWork tags.


Field Summary
 
Fields inherited from class com.opensymphony.webwork.components.Text
actualName, name, values
 
Fields inherited from class com.opensymphony.webwork.components.Component
COMPONENT_STACK, id, parameters, stack
 
Constructor Summary
Text(com.opensymphony.xwork.util.OgnlValueStack stack)
           
 
Method Summary
 void addParameter(Object value)
           
 void setEscape(boolean escape)
          Defines whether or not parameters should be HTML encoded
 
Methods inherited from class com.opensymphony.webwork.components.Text
addParameter, end, setName, usesBody
 
Methods inherited from class com.opensymphony.webwork.components.Component
addAllParameters, altSyntax, copyParams, determineActionURL, determineNamespace, end, fieldError, findAncestor, findString, findString, findValue, findValue, findValue, getComponentStack, getId, getParameters, getStack, popComponentStack, setId, start, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Text

public Text(com.opensymphony.xwork.util.OgnlValueStack stack)
Method Detail

addParameter

public void addParameter(Object value)
Specified by:
addParameter in interface com.opensymphony.webwork.components.Param.UnnamedParametric
Overrides:
addParameter in class com.opensymphony.webwork.components.Text

setEscape

public void setEscape(boolean escape)
Defines whether or not parameters should be HTML encoded

Parameters:
escape -


Copyright © 2013 Atlassian. All Rights Reserved.