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
AttributeConverter
convertToArg
in class AttributeConverter
schema
- used to report conversion problemsvalue
- the value to convertnull
if the conversion failed.UnableToCompleteException
Copyright © 2018. All rights reserved.