org.ow2.opensuit.cel
Class ExpressionFactory

java.lang.Object
  extended by org.ow2.opensuit.cel.ExpressionFactory
Direct Known Subclasses:
ExpressionFactoryImpl

public abstract class ExpressionFactory
extends java.lang.Object

Represent the factory that allow to recover the implementation.

Version:
1.0
Author:
Adrien Ruffie / Pierre Smeyers, http://opensuit.ow2.org/

Constructor Summary
protected ExpressionFactory(ITypeConverter converter)
           
 
Method Summary
abstract  ICompilationResult compileExpression(ICompilationContext iContext, java.lang.String expr)
          Allow to compile the provided expression into the associated compilation context
 ITypeConverter getConverter()
           
static ExpressionFactory newInstance(ITypeConverter converter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionFactory

protected ExpressionFactory(ITypeConverter converter)
Method Detail

newInstance

public static ExpressionFactory newInstance(ITypeConverter converter)

getConverter

public ITypeConverter getConverter()

compileExpression

public abstract ICompilationResult compileExpression(ICompilationContext iContext,
                                                     java.lang.String expr)
Allow to compile the provided expression into the associated compilation context

Parameters:
iContext - The context with which the compilation is performed
expr - The value of the expression
Returns:
IReaderCompilationResult


Copyright © 2008-2010 eBMWebsourcing. All Rights Reserved.