public class DoubleAttributeHandler extends Object implements AttributeHandler
| Constructor and Description |
|---|
DoubleAttributeHandler()
Creates a new attribute handler.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toAttributeValue(Object o)
Converts the attribute to a string.
|
Object |
toPropertyValue(String s)
Converts a string to a
Double. |
public DoubleAttributeHandler()
public String toAttributeValue(Object o)
toAttributeValue in interface AttributeHandlero - the attribute (Double expected).Double value.public Object toPropertyValue(String s)
Double.toPropertyValue in interface AttributeHandlers - the string.Double.Copyright © 2009-2012 jtstand.com. All Rights Reserved.