
public class AttributeConverterForBoolean extends AttributeConverter
| Constructor and Description |
|---|
AttributeConverterForBoolean() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convertToArg(Schema schema,
int line,
String elem,
String attr,
String value)
Converts from a string to the type needed.
|
public Object convertToArg(Schema schema, int line, String elem, String attr, String value) throws UnableToCompleteException
AttributeConverterconvertToArg in class AttributeConverterschema - used to report conversion problemsvalue - the value to convertnull if the conversion failed.UnableToCompleteExceptionCopyright © 2018. All rights reserved.