Package org.seedstack.seed.el
Interface ELContextBuilder
-
public interface ELContextBuilderELContextBuilder provides a DSL to build ELContext instances.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceELContextBuilder.ELPropertyProviderGrammar to add properties and methods to an ELContext.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ELContextBuilder.ELPropertyProvidercontext(javax.el.ELContext elContext)Sets a customELContext.ELContextBuilder.ELPropertyProviderdefaultContext()Initializes the context with default context.
-
-
-
Method Detail
-
defaultContext
ELContextBuilder.ELPropertyProvider defaultContext()
Initializes the context with default context.- Returns:
- ELPropertyProvider
-
context
ELContextBuilder.ELPropertyProvider context(javax.el.ELContext elContext)
Sets a customELContext.- Parameters:
elContext- custom ELContext- Returns:
- ELPropertyProvider
- Throws:
SeedException- if the context is null
-
-