public class ByteAttributeHandler extends Object implements AttributeHandler
| Constructor and Description |
|---|
ByteAttributeHandler()
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
Byte. |
public ByteAttributeHandler()
public String toAttributeValue(Object o)
toAttributeValue in interface AttributeHandlero - the attribute (Byte expected).Byte value.public Object toPropertyValue(String s)
Byte.toPropertyValue in interface AttributeHandlers - the string.Byte.Copyright © 2009-2012 jtstand.com. All Rights Reserved.