Package org.apache.struts2.util

# Class ComponentUtils

java.lang.Object
org.apache.struts2.util.ComponentUtils

public class ComponentUtils extends Object
Various static methods used with components

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ComponentUtils()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static boolean`
  `containsExpression(String expr)`
  `static boolean`
  `isExpression(String expr)`
  Check if object is an expression
  `static String`
  `stripExpression(String expr)`
  Simply strip the "%{" and "}" off.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ComponentUtils

    public ComponentUtils()

- ## Method Details

  - ### stripExpression

    public static String stripExpression(String expr)
    Simply strip the "%{" and "}" off.
    Parameters:
      `expr` - the expression (must be not null)
    Returns:
      the stripped expression

  - ### isExpression

    public static boolean isExpression(String expr)
    Check if object is an expression
    Parameters:
      `expr` - to treat as an expression
    Returns:
      true if it is an expression

  - ### containsExpression

    public static boolean containsExpression(String expr)