Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.ui.web.binding
Class MetaMethodExpression

java.lang.Object
  extended by javax.el.Expression
      extended by javax.el.MethodExpression
          extended by 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:

Author:
Anahide Tchertchian
See Also:
Serialized Form

Constructor Summary
MetaMethodExpression(MethodExpression originalMethodExpression)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getExpressionString()
           
 MethodInfo getMethodInfo(ELContext context)
           
 int hashCode()
           
 Object invoke(ELContext context, Object[] params)
           
 boolean isLiteralText()
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaMethodExpression

public MetaMethodExpression(MethodExpression originalMethodExpression)
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.