Class JuelConnector
java.lang.Object
org.apache.ofbiz.base.util.string.JuelConnector
A facade class used to connect the OFBiz framework to the JUEL library.
The Unified Expression Language specification doesn't allow assignment of values to non-existent variables (auto-vivify) - but the OFBiz scripting languages do. This class modifies the JUEL library behavior to enable auto-vivify.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
CustomAstBracket
class that implementsList
orMap
auto-vivify.static class
CustomAstDot
class that implementsList
orMap
auto-vivify.protected static class
CustomBuilder
class needed to implement a custom parser.protected static class
CustomParser
class needed to implement auto-vivify. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic javax.el.ExpressionFactory
Returns anExpressionFactory
instance.
-
Field Details
-
MODULE
-
-
Constructor Details
-
JuelConnector
public JuelConnector()
-
-
Method Details
-
newExpressionFactory
public static javax.el.ExpressionFactory newExpressionFactory()Returns anExpressionFactory
instance.- Returns:
- A customized
ExpressionFactory
instance
-