|
JBoss Dynamic Model Representation API 1.2.0.Beta1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.dmr.ValueExpression
public final class ValueExpression
A value expression.
| Constructor Summary | |
|---|---|
ValueExpression(String expressionString)
Construct a new instance. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
Determine whether this object is equal to another. |
boolean |
equals(ValueExpression other)
Determine whether this object is equal to another. |
String |
getExpressionString()
Get the raw expression string. |
int |
hashCode()
Get the hash code of the expression string. |
static String |
quote(String string)
Quote a string so that it can be used in an expression as a literal string, instead of being expanded. |
void |
readExternal(ObjectInput in)
Deserialize this instance. |
BigDecimal |
resolveBigDecimal()
Resolve this expression to a decimal value. |
BigDecimal |
resolveBigDecimal(ValueExpressionResolver resolver)
Resolve this expression to a decimal value. |
BigInteger |
resolveBigInteger()
Resolve this expression to a large integer value. |
BigInteger |
resolveBigInteger(ValueExpressionResolver resolver)
Resolve this expression to a large integer value. |
boolean |
resolveBoolean()
Resolve this expression to a boolean value. |
boolean |
resolveBoolean(ValueExpressionResolver resolver)
Resolve this expression to a boolean value. |
int |
resolveInt()
Resolve this expression to an int value. |
int |
resolveInt(ValueExpressionResolver resolver)
Resolve this expression to an int value. |
long |
resolveLong()
Resolve this expression to a long value. |
long |
resolveLong(ValueExpressionResolver resolver)
Resolve this expression to a long value. |
String |
resolveString()
Resolve this expression to a string value. |
String |
resolveString(ValueExpressionResolver resolver)
Resolve this expression to a string value. |
String |
toString()
Get a printable string representation of this object. |
void |
writeExternal(ObjectOutput out)
Serialize this instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ValueExpression(String expressionString)
expressionString - the expression string| Method Detail |
|---|
public static String quote(String string)
string - the string to quote
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface Externalizableout - the target stream
IOException - if a serialization error occurs
public void readExternal(ObjectInput in)
throws IOException
readExternal in interface Externalizablein - the source stream
IOException - if a serialization error occurspublic String getExpressionString()
null)public int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Objectother - the other object
true if they are equal, false otherwisepublic boolean equals(ValueExpression other)
other - the other object
true if they are equal, false otherwisepublic String resolveString()
public String resolveString(ValueExpressionResolver resolver)
resolver - the resolver to use
public boolean resolveBoolean()
boolean value.
public boolean resolveBoolean(ValueExpressionResolver resolver)
boolean value.
resolver - the resolver to use
public int resolveInt()
int value.
public int resolveInt(ValueExpressionResolver resolver)
int value.
resolver - the resolver to use
public long resolveLong()
long value.
public long resolveLong(ValueExpressionResolver resolver)
long value.
resolver - the resolver to use
public BigInteger resolveBigInteger()
public BigInteger resolveBigInteger(ValueExpressionResolver resolver)
resolver - the resolver to use
public BigDecimal resolveBigDecimal()
public BigDecimal resolveBigDecimal(ValueExpressionResolver resolver)
resolver - the resolver to use
public String toString()
toString in class Object
|
JBoss Dynamic Model Representation API 1.2.0.Beta1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||