Package org.apache.struts2.util
Class ComponentUtils
java.lang.Object
org.apache.struts2.util.ComponentUtils
Various static methods used with components
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleancontainsExpression(String expr) static booleanisExpression(String expr) Check if object is an expressionstatic StringstripExpression(String expr) Simply strip the "%{" and "}" off.
- 
Constructor Details- 
ComponentUtilspublic ComponentUtils()
 
- 
- 
Method Details- 
stripExpressionSimply strip the "%{" and "}" off.- Parameters:
- expr- the expression (must be not null)
- Returns:
- the stripped expression
 
- 
isExpressionCheck if object is an expression- Parameters:
- expr- to treat as an expression
- Returns:
- true if it is an expression
 
- 
containsExpression
 
-