|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.bristleback.server.bristle.binding.resolvers.DoublePropertyResolver
public class DoublePropertyResolver
This property resolver checks the type of the given value, returns the same object if value type is Double or uses Double.parseDouble(String) otherwise.
Every comma is replaced by dot.
| Constructor Summary | |
|---|---|
DoublePropertyResolver()
|
|
| Method Summary | |
|---|---|
java.lang.Double |
extractValue(java.lang.Object value)
Extracts value given as parameter and process it to be of desired type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DoublePropertyResolver()
| Method Detail |
|---|
public java.lang.Double extractValue(java.lang.Object value)
PropertyValueResolver
extractValue in interface PropertyValueResolver<java.lang.Double>value - value to extract.
null if given value cannot be processed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||