|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ezmorph.object.AbstractObjectMorpher
net.sf.ezmorph.object.BigIntegerMorpher
public final class BigIntegerMorpher
Morphs to a BigInteger.
| Constructor Summary | |
|---|---|
BigIntegerMorpher()
|
|
BigIntegerMorpher(java.math.BigInteger defaultValue)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.math.BigInteger |
getDefaultValue()
Returns the default value for this Morpher. |
protected java.lang.String |
getIntegerValue(java.lang.Object obj)
Trims the String from the begining to the first "." |
int |
hashCode()
|
java.lang.Object |
morph(java.lang.Object value)
Morphs the input object into an output object of the supported type. |
java.lang.Class |
morphsTo()
Returns the target Class for conversion. |
| Methods inherited from class net.sf.ezmorph.object.AbstractObjectMorpher |
|---|
isUseDefault, setUseDefault, supports |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BigIntegerMorpher()
public BigIntegerMorpher(java.math.BigInteger defaultValue)
defaultValue - return value if the value to be morphed is null| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.math.BigInteger getDefaultValue()
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.Object morph(java.lang.Object value)
ObjectMorpher
value - The input value to be morphedpublic java.lang.Class morphsTo()
Morpher
protected java.lang.String getIntegerValue(java.lang.Object obj)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||