Package scriptella.core
Class IfInterceptor
java.lang.Object
scriptella.core.ElementInterceptor
scriptella.core.IfInterceptor
- All Implemented Interfaces:
ExecutableElement
Handles if expressions specified by if attribute on query/script elements.
- Version:
- 1.0
- Author:
- Fyodor Kupolov
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(DynamicContext ctx) Executes the element.static ExecutableElementprepare(ExecutableElement next, ScriptingElement s) Methods inherited from class scriptella.core.ElementInterceptor
executeNext, getCtxDecorator, getNext
-
Constructor Details
-
IfInterceptor
-
-
Method Details
-
execute
Description copied from interface:ExecutableElementExecutes the element.Note: the context may be decorated by
DynamicContextDecorator.- Parameters:
ctx- context to use.
-
prepare
-