/**********************************************************
*/
protected POJOPropertiesCollector collector(Class<?> cls, String prefix)
{
BasicClassIntrospector bci = new BasicClassIntrospector();
// no real difference between serialization, deserialization, at least here
return bci.collectProperties(mapper.getSerializationConfig(),
mapper.constructType(cls), null, false, prefix);
}