| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private String | |
| private ValueExpression |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the o)Object to test for equality.Implements abstract jakarta. Determines whether the specified object is equal to this |
| public Class | getExpectedType()
Implements abstract jakarta. Returns the type the result of the expression will be coerced to after evaluation. |
| public String | getExpressionString()
Implements abstract jakarta. Returns the original String used to create this |
| public Class | getType(ELContext
The context of this evaluation. context)Implements abstract jakarta. Evaluates the expression relative to the provided context, and returns the most general type that is acceptable for
an object to be passed as the |
| public Object | getValue(ELContext
The context of this evaluation. context)Implements abstract jakarta. Evaluates the expression relative to the provided context, and returns the resulting value. |
| public ValueReference | getValueReference(ELContext
the context of this evaluation context)Overrides jakarta. Returns a |
| public ValueExpression | |
| public int | hashCode()
Implements abstract jakarta. Returns the hash code for this |
| public boolean | isLiteralText()
Implements abstract jakarta. Returns whether this expression was created from only literal text. |
| public boolean | isReadOnly(ELContext
The context of this evaluation. context)Implements abstract jakarta. Evaluates the expression relative to the provided context, and returns |
| public void | readExternal(ObjectInput
the stream to read data from in order to restore the object in)Implements java. The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. |
| public void | setValue(ELContext
The context of this evaluation. context, Object The new value to be set. value)Implements abstract jakarta. Evaluates the expression relative to the provided context, and sets the result to the provided value. |
| public String | |
| public void | writeExternal(ObjectOutput
the stream to write the object to out)Implements java. The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| tagAttribute | back to summary |
|---|---|
| private String tagAttribute | |
| wrapped | back to summary |
|---|---|
| private ValueExpression wrapped | |
| TagValueExpression | back to summary |
|---|---|
| public TagValueExpression() | |
| TagValueExpression | back to summary |
|---|---|
| public TagValueExpression(TagAttribute tagAttribute, ValueExpression wrapped) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Implements abstract jakarta. Doc from jakarta. Determines whether the specified object is equal to this
The result is
Note that two expressions can be equal if their expression Strings are different. For example,
| |
| getExpectedType | back to summary |
|---|---|
| public Class Implements abstract jakarta. Doc from jakarta. Returns the type the result of the expression will be coerced to after evaluation. | |
| getExpressionString | back to summary |
|---|---|
| public String getExpressionString() Implements abstract jakarta. Doc from jakarta. Returns the original String used to create this This is used for debugging purposes but also for the purposes of comparison (e.g. to ensure the expression in a configuration file has not changed).
This method does not provide sufficient information to re-create an expression. Two different expressions can have
exactly the same expression string but different function mappings. Serialization should be used to save and restore
the state of an | |
| getType | back to summary |
|---|---|
| public Class Implements abstract jakarta. Doc from jakarta. Evaluates the expression relative to the provided context, and returns the most general type that is acceptable for
an object to be passed as the
This is not always the same as | |
| getValue | back to summary |
|---|---|
| public Object getValue(ELContext context) Implements abstract jakarta. Doc from jakarta. Evaluates the expression relative to the provided context, and returns the resulting value.
The resulting value is automatically coerced to the type returned by | |
| getValueReference | back to summary |
|---|---|
| public ValueReference getValueReference(ELContext context) Overrides jakarta. Doc from jakarta. Returns a
| |
| getWrapped | back to summary |
|---|---|
| public ValueExpression getWrapped() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract jakarta. Doc from jakarta. Returns the hash code for this
See the note in the
| |
| isLiteralText | back to summary |
|---|---|
| public boolean isLiteralText() Implements abstract jakarta. Doc from jakarta. Returns whether this expression was created from only literal text.
This method must return
| |
| isReadOnly | back to summary |
|---|---|
| public boolean isReadOnly(ELContext context) Implements abstract jakarta. Doc from jakarta. Evaluates the expression relative to the provided context, and returns | |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Implements java. Doc from java. The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.
| |
| setValue | back to summary |
|---|---|
| public void setValue(ELContext context, Object value) Implements abstract jakarta. Doc from jakarta. Evaluates the expression relative to the provided context, and sets the result to the provided value. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Implements java. Doc from java. The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.
| |