Property p, PropertyList propertyList, FObj fo) throws PropertyException {
String nameval = p.getNCname();
if (nameval != null) {
FObj fobj = (fo == null ? propertyList.getFObj() : fo);
FOUserAgent ua = (fobj == null ? null : fobj.getUserAgent());
return new ColorProperty(ua, nameval);
}
return super.convertPropertyDatatype(p, propertyList, fo);
}
};
m.useGeneric(genericColor);