SmartFrog 3.10.000

org.smartfrog.sfcore.languages.sf.functions
Class Concatenate

java.lang.Object
  extended by org.smartfrog.sfcore.languages.sf.functions.BaseFunction
      extended by org.smartfrog.sfcore.languages.sf.functions.BaseOperator
          extended by org.smartfrog.sfcore.languages.sf.functions.Concatenate
All Implemented Interfaces:
Function

public class Concatenate
extends BaseOperator

Defines the Concatenate function that takes each of its attribute parameters and concatenates them in the order of definition after converting them to strings.


Field Summary
 
Fields inherited from class org.smartfrog.sfcore.languages.sf.functions.BaseFunction
context, name
 
Constructor Summary
Concatenate()
           
 
Method Summary
protected  java.lang.Object doOperator(java.lang.Object a, java.lang.Object b)
          Applies the operator on the parameters.
 
Methods inherited from class org.smartfrog.sfcore.languages.sf.functions.BaseOperator
doFunction
 
Methods inherited from class org.smartfrog.sfcore.languages.sf.functions.BaseFunction
doit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Concatenate

public Concatenate()
Method Detail

doOperator

protected java.lang.Object doOperator(java.lang.Object a,
                                      java.lang.Object b)
Applies the operator on the parameters.

Specified by:
doOperator in class BaseOperator
Parameters:
a - First parameter for the operation
b - Second parameter for the operation
Returns:
result

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP