当前页面:
在线文档首页 >
JBoss Seam 1.2.1 API 英文版文档
Expressions (JBoss Seam API Documentation) - JBoss Seam 1.2.1 API 英文版文档
org.jboss.seam.core
Class Expressions
java.lang.Object
org.jboss.seam.core.Expressions
- All Implemented Interfaces:
- Serializable
@Scope(value=APPLICATION)
@Intercept(value=NEVER)
@Install(precedence=0)
@Name(value="org.jboss.seam.core.expressions")
public class Expressions
- extends Object
- implements Serializable
Factory for method and value bindings
- Author:
- Gavin King
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Expressions
public Expressions()
createValueBinding
public Expressions.ValueBinding createValueBinding(String expression)
createMethodBinding
public Expressions.MethodBinding createMethodBinding(String expression)
validate
public org.hibernate.validator.InvalidValue[] validate(String propertyExpression,
Object value)
- Validate that a value can be assigned to the property
identified by a value expression.
- Parameters:
propertyExpression
- a value expressionvalue
- the value that is to be assigned
- Returns:
- the validation failures, as InvalidValues
instance
public static Expressions instance()