org.apache.myfaces.extensions.cdi.core.api.tools
Class AbstractPropertyExpressionInterpreter

java.lang.Object
  extended by org.apache.myfaces.extensions.cdi.core.api.tools.AbstractPropertyExpressionInterpreter
All Implemented Interfaces:
ExpressionInterpreter<String,Boolean>
Direct Known Subclasses:
SystemAwareExpressionInterpreter

@Typed
public abstract class AbstractPropertyExpressionInterpreter
extends Object
implements ExpressionInterpreter<String,Boolean>

Base implementation for simple (property) expressions


Constructor Summary
AbstractPropertyExpressionInterpreter()
           
 
Method Summary
 Boolean evaluate(String expressions)
          Evaluates the given expression and returns the result for it
protected abstract  String getConfiguredValue(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPropertyExpressionInterpreter

public AbstractPropertyExpressionInterpreter()
Method Detail

evaluate

public final Boolean evaluate(String expressions)
Evaluates the given expression and returns the result for it

Specified by:
evaluate in interface ExpressionInterpreter<String,Boolean>
Parameters:
expressions - expression which should be evaluated
Returns:
result of the evaluated expression

getConfiguredValue

protected abstract String getConfiguredValue(String key)


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.