@Override
public IConverter getConverter(Class<?> type) {
if (LayerInfo.class.isAssignableFrom(type)) {
return new LayerInfoConverter();
} else if (StyleInfo.class.isAssignableFrom(type)) {
return new StyleInfoConverter();
} else {
return super.getConverter(type);
}
}
};