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