| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final ExpressionBuilder. | |
| private String | |
| private FunctionMapper | |
| private VariableMapper |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private Node | |
| public MethodExpression | |
| public static Node | |
| private static Node | |
| public ValueExpression | |
| private void | |
| public void |
| cache | back to summary |
|---|---|
| private static final ExpressionBuilder. | |
| expression | back to summary |
|---|---|
| private String expression | |
| fnMapper | back to summary |
|---|---|
| private FunctionMapper fnMapper | |
| varMapper | back to summary |
|---|---|
| private VariableMapper varMapper | |
| ExpressionBuilder | back to summary |
|---|---|
| public ExpressionBuilder(String expression, ELContext ctx) throws ELException | |
| build | back to summary |
|---|---|
| private Node build() throws ELException | |
| createMethodExpression | back to summary |
|---|---|
| public MethodExpression createMethodExpression(Class<T> expectedReturnType, Class<T>[] expectedParamTypes) throws ELException | |
| createNode | back to summary |
|---|---|
| public static Node createNode(String expr) throws ELException | |
| createNodeInternal | back to summary |
|---|---|
| private static Node createNodeInternal(String expr) throws ELException | |
| createValueExpression | back to summary |
|---|---|
| public ValueExpression createValueExpression(Class<T> expectedType) throws ELException | |
| prepare | back to summary |
|---|---|
| private void prepare(Node node) throws ELException Scan the expression nodes and captures the functions and variables used in this expression. This ensures that any changes to the functions or variables mappings during the expression will not affect the evaluation of this expression, as the functions and variables are bound and resolved at parse time, as specified in the spec. | |
| visit | back to summary |
|---|---|
| public void visit(Node node) throws ELException Implements com.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| key | back to summary |
|---|---|
| pack-priv final String key | |
| NodeSoftReference | back to summary |
|---|---|
| pack-priv NodeSoftReference(String key, Node node, ReferenceQueue<Node> refQ) | |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private ConcurrentHashMap | |
| private ReferenceQueue |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public Node | get(Object
the key whose associated value is to be returned key)Overrides java. Implements java. null if this map contains no mapping for the key.
|
| public Node | put(String
key with which the specified value is to be associated key, Node value to be associated with the specified key value)Overrides java. Implements java. |
| public Node | putIfAbsent(String
key with which the specified value is to be associated key, Node value to be associated with the specified key value)Overrides java. Overrides default java. Implements java. |
| CACHE_INIT_SIZE | back to summary |
|---|---|
| private static final int CACHE_INIT_SIZE | |
| map | back to summary |
|---|---|
| private ConcurrentHashMap<String, ExpressionBuilder. | |
| refQ | back to summary |
|---|---|
| private ReferenceQueue<Node> refQ | |
| SoftConcurrentHashMap | back to summary |
|---|---|
| private SoftConcurrentHashMap() | |
| cleanup | back to summary |
|---|---|
| private void cleanup() | |
| get | back to summary |
|---|---|
| public Node get(Object key) Overrides java. Implements java. Doc from java. Returns the value to which the specified key is mapped,
or More formally, if this map contains a mapping from a key
| |
| put | back to summary |
|---|---|
| public Node put(String key, Node value) Overrides java. Implements java. Doc from java. Maps the specified key to the specified value in this table. Neither the key nor the value can be null. The value can be retrieved by calling the | |
| putIfAbsent | back to summary |
|---|---|
| public Node putIfAbsent(String key, Node value) Overrides java. Overrides default java. Implements java. Doc from java. If the specified key is not already associated
with a value, associates it with the given value.
This is equivalent to, for this
except that the action is performed atomically.
| |