fr.expression4j.factory
Class ExpressionModelFactory

java.lang.Object
  extended by fr.expression4j.factory.ExpressionModelFactory

public class ExpressionModelFactory
extends java.lang.Object

Manage expression model. Expression model is meta model associated to an expression.

Author:
SGINER

Constructor Summary
ExpressionModelFactory()
           
 
Method Summary
static ExpressionModel createExpressionModel(java.lang.String name)
          Create an empty expression model.
static java.util.List getAllExpressionModel()
          get all expression model define.
static ExpressionModel getDefaultExpressionModel()
          Get the default expression model
static ExpressionModel getExpressionModel(java.lang.String name)
          Get an expression model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionModelFactory

public ExpressionModelFactory()
Method Detail

getDefaultExpressionModel

public static ExpressionModel getDefaultExpressionModel()
                                                 throws ModelException
Get the default expression model

Returns:
default expression model
Throws:
ModelException - if error occurd.

createExpressionModel

public static final ExpressionModel createExpressionModel(java.lang.String name)
Create an empty expression model.

Returns:
empty expression model.

getExpressionModel

public static final ExpressionModel getExpressionModel(java.lang.String name)
Get an expression model.

Returns:
empty expression model.

getAllExpressionModel

public static final java.util.List getAllExpressionModel()
get all expression model define.

Returns:
list of all expression model name as sting.