|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectorg.apache.struts2.util.ComponentUtils
public class ComponentUtils
Various static methods used with components
构造方法摘要 | |
---|---|
ComponentUtils()
|
方法摘要 | |
---|---|
static boolean |
altSyntax(com.opensymphony.xwork2.util.ValueStack stack)
Is the altSyntax enabled? |
static boolean |
isExpression(Object value)
Check if object is expression base on altSyntax |
static String |
stripExpressionIfAltSyntax(com.opensymphony.xwork2.util.ValueStack stack,
String expr)
If altSyntax (%{...}) is applied, simply strip the "%{" and "}" off. |
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public ComponentUtils()
方法详细信息 |
---|
public static String stripExpressionIfAltSyntax(com.opensymphony.xwork2.util.ValueStack stack, String expr)
stack
- the ValueStack where the context value is searched for.expr
- the expression (must be not null)
public static boolean altSyntax(com.opensymphony.xwork2.util.ValueStack stack)
stack
- the ValueStack where the context value is searched for.
struts.properties
where the altSyntax flag is defined.public static boolean isExpression(Object value)
value
- to treat as an expression
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |