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 AttributeHandler
o
- the attribute (String
expected).public Object toPropertyValue(String s)
toPropertyValue
in interface AttributeHandler
s
- the string.Short
.Copyright © 2001–2018 JFree.org. All rights reserved.