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