Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

java.lang.Object
  extended by javax.el.Expression
      extended by javax.el.MethodExpression
          extended by org.nuxeo.ecm.platform.ui.web.binding.DownloadMethodExpression
All Implemented Interfaces:
Serializable

public class DownloadMethodExpression
extends MethodExpression
implements Serializable

Download method expression for blobs.

Author:
Anahide Tchertchian
See Also:
Serialized Form

Constructor Summary
DownloadMethodExpression(ValueExpression blobExpression, ValueExpression fileNameExpression)
           
 
Method Summary
 boolean equals(Object o)
           
 String getExpressionString()
           
 MethodInfo getMethodInfo(ELContext context)
           
 int hashCode()
           
 Object invoke(ELContext context, Object[] params)
           
 boolean isLiteralText()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DownloadMethodExpression

public DownloadMethodExpression(ValueExpression blobExpression,
                                ValueExpression fileNameExpression)
Method Detail

equals

public boolean equals(Object o)
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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.