| 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 javax. Expression.
|
| public Class | getExpectedType()
Implements abstract javax. |
| public String | getExpressionString()
Implements abstract javax. Expression,
unmodified.
|
| public Class | getType(ELContext
The context of this evaluation. context)Implements abstract javax. value parameter in a future call
to the setValue method.
|
| public Object | getValue(ELContext
The context of this evaluation. context)Implements abstract javax. |
| public ValueReference | getValueReference(ELContext
the context of this evaluation context)Overrides javax. ValueReference for this expression instance.
|
| public ValueExpression | |
| public int | hashCode()
Implements abstract javax. Expression.
|
| public boolean | isLiteralText()
Implements abstract javax. |
| public boolean | isReadOnly(ELContext
The context of this evaluation. context)Implements abstract javax. true if a call to setValue will
always fail.
|
| public void | readExternal(ObjectInput
the stream to read data from in order to restore the object in)Implements java. |
| public void | setValue(ELContext
The context of this evaluation. context, Object The new value to be set. value)Implements abstract javax. |
| public String | |
| public void | writeExternal(ObjectOutput
the stream to write the object to out)Implements java. |
| 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 javax. Doc from javax. 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 javax. Doc from javax. Returns the type the result of the expression will be coerced to after evaluation. | |
| getExpressionString | back to summary |
|---|---|
| public String getExpressionString() Implements abstract javax. Doc from javax. 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 javax. Doc from javax. 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 javax. Doc from javax. 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 javax. Doc from javax. Returns a
| |
| getWrapped | back to summary |
|---|---|
| public ValueExpression getWrapped() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract javax. Doc from javax. Returns the hash code for this See the note in the
| |
| isLiteralText | back to summary |
|---|---|
| public boolean isLiteralText() Implements abstract javax. Doc from javax. 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 javax. Doc from javax. 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 javax. Doc from javax. 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. | |
| 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.
| |