org.nuxeo.ecm.platform.ui.web.binding
Class MetaMethodExpression
java.lang.Object
javax.el.Expression
javax.el.MethodExpression
org.nuxeo.ecm.platform.ui.web.binding.MetaMethodExpression
- All Implemented Interfaces:
- Serializable
public class MetaMethodExpression
- extends MethodExpression
- implements Serializable
Meta method expression used to invoke the EL expression that is already the
result of a method expression.
For instance it is useful to use this expression to provide action links
defined in NXActions extensions with links like
#{documentAction.createDocument('Domain')}.
There is no more than one level of abstraction:
- the expression method value can be a standard method expression (with
parameters or not);
- the expression method value can result in another expression method value
after being invoke, in which case it is reinvoked again using the same
context;
- no further method invoking will be performed.
- Author:
- Anahide Tchertchian
- See Also:
- Serialized Form
MetaMethodExpression
public MetaMethodExpression(MethodExpression originalMethodExpression)
equals
public boolean equals(Object obj)
- Specified by:
equals
in class Expression
hashCode
public int hashCode()
- Specified by:
hashCode
in class Expression
getExpressionString
public String getExpressionString()
- Specified by:
getExpressionString
in class Expression
isLiteralText
public boolean isLiteralText()
- Specified by:
isLiteralText
in class Expression
getMethodInfo
public MethodInfo getMethodInfo(ELContext context)
- Specified by:
getMethodInfo
in class MethodExpression
invoke
public Object invoke(ELContext context,
Object[] params)
- Specified by:
invoke
in class MethodExpression
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Throws:
IOException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.