Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cocoon.forms.expression
Class StringFunction

    java.lang.Object
      org.outerj.expression.AbstractExpression
          org.apache.cocoon.forms.expression.StringFunction

All Implemented Interfaces:
  org.outerj.expression.Expression

public class StringFunction
extends org.outerj.expression.AbstractExpression

Converts argument to the string. Useful when concatenating non-string values, such as numbers.

Version:
  $Id: StringFunction.java 587759 2007-10-24 03:00:37Z vgritsenko $

Field Summary

Fields inherited from class org.outerj.expression.AbstractExpression
`arguments, column, line`

Constructor Summary
`StringFunction()`

Method Summary
`Object` | `evaluate(org.outerj.expression.ExpressionContext context)`
`String` | `getDescription()`
`Class` | `getResultType()`

Methods inherited from class org.outerj.expression.AbstractExpression
`addArgument, addArgument, check, checkArgument, checkArguments, checkArgumentsOfSameType, checkNoArguments, getColumn, getLine, setPosition`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### StringFunction

    public StringFunction()

Method Detail

### evaluate

    public Object evaluate(org.outerj.expression.ExpressionContext context)
                    throws org.outerj.expression.ExpressionException

  Throws:
    `org.outerj.expression.ExpressionException`

### getResultType

    public Class getResultType()

### getDescription

    public String getDescription()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.