FileDocCategorySizeDatePackage
JspMethodExpression.javaAPI DocApache Tomcat 6.0.143843Fri Jul 20 04:20:36 BST 2007org.apache.jasper.el

JspMethodExpression

public final class JspMethodExpression extends MethodExpression implements Externalizable

Fields Summary
private String
mark
private MethodExpression
target
Constructors Summary
public JspMethodExpression()

        super();
    
public JspMethodExpression(String mark, MethodExpression target)

        this.target = target;
        this.mark = mark;
    
Methods Summary
public booleanequals(java.lang.Object obj)

        return this.target.equals(obj);
    
public java.lang.StringgetExpressionString()

        return this.target.getExpressionString();
    
public javax.el.MethodInfogetMethodInfo(javax.el.ELContext context)

        try {
            return this.target.getMethodInfo(context);
        } catch (MethodNotFoundException e) {
            if (e instanceof JspMethodNotFoundException) throw e;
            throw new JspMethodNotFoundException(this.mark, e);
        } catch (PropertyNotFoundException e) {
            if (e instanceof JspPropertyNotFoundException) throw e;
            throw new JspPropertyNotFoundException(this.mark, e);
        } catch (ELException e) {
            if (e instanceof JspELException) throw e;
            throw new JspELException(this.mark, e);
        }
    
public inthashCode()

        return this.target.hashCode();
    
public java.lang.Objectinvoke(javax.el.ELContext context, java.lang.Object[] params)

        try {
            return this.target.invoke(context, params);
        } catch (MethodNotFoundException e) {
            if (e instanceof JspMethodNotFoundException) throw e;
            throw new JspMethodNotFoundException(this.mark, e);
        } catch (PropertyNotFoundException e) {
            if (e instanceof JspPropertyNotFoundException) throw e;
            throw new JspPropertyNotFoundException(this.mark, e);
        } catch (ELException e) {
            if (e instanceof JspELException) throw e;
            throw new JspELException(this.mark, e);
        }
    
public booleanisLiteralText()

        return this.target.isLiteralText();
    
public voidreadExternal(java.io.ObjectInput in)

        this.mark = in.readUTF();
        this.target = (MethodExpression) in.readObject();
    
public voidwriteExternal(java.io.ObjectOutput out)

        out.writeUTF(this.mark);
        out.writeObject(this.target);