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