org.ofbiz.base.util
Class StringUtil.StringWrapper
java.lang.Object
org.ofbiz.base.util.StringUtil.StringWrapper
- Enclosing class:
- StringUtil
public static class StringUtil.StringWrapper
- extends java.lang.Object
A super-lightweight object to wrap a String object. Mainly used with FTL templates
to avoid the general HTML auto-encoding that is now done through the Screen Widget.
Method Summary |
java.lang.String |
plus(java.lang.Object value)
Fairly simple method used for the plus (+) base concatenation in Groovy. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EMPTY_STRING_WRAPPER
public static final StringUtil.StringWrapper EMPTY_STRING_WRAPPER
theString
protected java.lang.String theString
StringUtil.StringWrapper
protected StringUtil.StringWrapper()
StringUtil.StringWrapper
public StringUtil.StringWrapper(java.lang.String theString)
plus
public java.lang.String plus(java.lang.Object value)
- Fairly simple method used for the plus (+) base concatenation in Groovy.
- Parameters:
value
-
- Returns:
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- Returns:
- The String this object wraps.