public class ExValue
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ExValue(java.lang.String value,
java.lang.Class expectedType)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Class |
getExpectedType()
Returns the expected type.
|
java.lang.String |
getRawValue()
Returns the raw value.
|
java.lang.Object |
getValue(Evaluator eval,
Component comp)
Returns the value after evaluation.
|
java.lang.Object |
getValue(Evaluator eval,
Page page)
Returns the value after evaluation.
|
int |
hashCode() |
boolean |
isExpression()
Tests whether it is an expression.
|
void |
setExpectedType(java.lang.Class expectedType)
Sets the expected type.
|
void |
setRawValue(java.lang.String value)
Sets the raw value.
|
java.lang.String |
toString() |
public ExValue(java.lang.String value, java.lang.Class expectedType)
value
- the value. It can be null.public boolean isExpression()
public final java.lang.String getRawValue()
public void setRawValue(java.lang.String value)
value
- the value. It can be null.public final java.lang.Class getExpectedType()
public final void setExpectedType(java.lang.Class expectedType)
public java.lang.Object getValue(Evaluator eval, Page page) throws XelException
XelException
public java.lang.Object getValue(Evaluator eval, Component comp) throws XelException
XelException
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.