net.sf.oval.expression
Class ExpressionLanguageRegistry

java.lang.Object
  extended by net.sf.oval.expression.ExpressionLanguageRegistry

public class ExpressionLanguageRegistry
extends Object

Author:
Sebastian Thomschke

Constructor Summary
ExpressionLanguageRegistry()
           
 
Method Summary
 ExpressionLanguage getExpressionLanguage(String languageId)
           
 ExpressionLanguage registerExpressionLanguage(String languageId, ExpressionLanguage impl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionLanguageRegistry

public ExpressionLanguageRegistry()
Method Detail

getExpressionLanguage

public ExpressionLanguage getExpressionLanguage(String languageId)
                                         throws IllegalArgumentException,
                                                ExpressionLanguageNotAvailableException
Parameters:
languageId - the id of the language, cannot be null
Throws:
IllegalArgumentException - if languageName == null
ExpressionLanguageNotAvailableException

registerExpressionLanguage

public ExpressionLanguage registerExpressionLanguage(String languageId,
                                                     ExpressionLanguage impl)
                                              throws IllegalArgumentException
Parameters:
languageId - the expression language identifier
impl - the expression language implementation
Throws:
IllegalArgumentException - if languageId == null || expressionLanguage == null


Copyright © 2005–2015 The OVal Development Team. All rights reserved.