protected abstract static class SBPropertyDescriptor.SingleValueSetter extends SBPropertyDescriptor.Setter
Modifier | Constructor and Description |
---|---|
protected |
SBPropertyDescriptor.SingleValueSetter() |
Modifier and Type | Method and Description |
---|---|
protected Object[] |
getArgs(SBPropertyDescriptor pd,
Map<String,List<Object>> params,
SchemaUtil.SchemaProvider schemaProvider)
Get the setter arguments for Method.invoke, consume the
property values.
|
protected abstract Object[] |
parseArgs(SBPropertyDescriptor pd,
String val,
SchemaUtil.SchemaProvider schemaProvider)
Parse the single argument value from a string into the
array of parameters to pass to the setter method.
|
getSingleValue, getValue, getValues, set
protected SBPropertyDescriptor.SingleValueSetter()
protected Object[] getArgs(SBPropertyDescriptor pd, Map<String,List<Object>> params, SchemaUtil.SchemaProvider schemaProvider) throws TypecheckException
SBPropertyDescriptor.Setter
getArgs
in class SBPropertyDescriptor.Setter
TypecheckException
protected abstract Object[] parseArgs(SBPropertyDescriptor pd, String val, SchemaUtil.SchemaProvider schemaProvider) throws TypecheckException
TypecheckException