corelib.services.web.bindings
Class BindingExpressionDynamicPart
java.lang.Object
corelib.services.web.bindings.BindingExpressionPart
corelib.services.web.bindings.BindingExpressionDynamicPart
public class BindingExpressionDynamicPart
- extends BindingExpressionPart
Evaluate dynamicly a binding expression part that respect this format : #{expression}.
- Since:
- 0.1.0
- Author:
- Dominique Liard
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BindingExpressionDynamicPart
public BindingExpressionDynamicPart(BindingExpression partContainer,
java.lang.String expressionPart)
- Class constructor.
- Parameters:
partContainer - The container that describe the full XML attribute value
(example: xmlAttribute="begin#{aPartExpression}middle#{anotherPartExpression}end").expressionPart - The string associated to this expression part (example: #{this.property.subProperty}.
evaluate
public java.lang.Object evaluate(BindingExpressionDirection direction)
throws BindingException
- Dynamicly evalute this binding expression part.
- Specified by:
evaluate in class BindingExpressionPart
- Parameters:
direction - Indicates the direction of this evaluation. Two values are supported: BindingExpressionDirection.WEB_COMPONENT_TO_OBJECT
and BindingExpressionDirection.OBJECT_TO_WEB_COMPONENT.
- Returns:
- The value of this expression part.
- Throws:
BindingException - Thrown when this expression part cannot be evaluated.
CAUTION: Ellipse is proposed to you in BETA version to allow evaluation of this framework. Infini Software is released from any responsibility for the use of Ellipse Framework.
Copyright 2012 Infini Software - All Rights Reserved.