public class AttributeConverter extends Object implements IAttributeConverter
| Constructor and Description |
|---|
AttributeConverter(IStringObjectConverter soconv,
IObjectStringConverter osconv)
Create a new attribute converter.
|
| Modifier and Type | Method and Description |
|---|---|
String |
convertObject(Object val,
IContext context)
Convert a value to a string type.
|
Object |
convertString(String val,
IContext context)
Convert a string value to another type.
|
public AttributeConverter(IStringObjectConverter soconv, IObjectStringConverter osconv)
public Object convertString(String val, IContext context) throws Exception
convertString in interface IStringObjectConverterval - The value to convert.Exceptionpublic String convertObject(Object val, IContext context)
convertObject in interface IObjectStringConverterval - The value to convert.Copyright © 2012. All Rights Reserved.