val = Val.chkStr(val.substring(0,maxChars));
}
if ((val != null) && (val.length() > 0)) {
AsnValueFilter vFilter = asnValueType.makeValueFilter(context);
if (vFilter != null) {
val = Val.chkStr(vFilter.filter(val));
}
}
AsnSupportedValues supported = asnValueType.getSupportedValues();
if (supported != null) {
val = supported.getSupportedValue(val);