SPR-7070 - MappingJacksonJsonView.renderedAttributes to be made visible to subclasses

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3232 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Arjen Poutsma
2010-04-07 08:30:04 +00:00
parent 974fe3035d
commit 84f9329c3f
@@ -103,6 +103,13 @@ public class MappingJacksonJsonView extends AbstractView {
this.prefixJson = prefixJson;
}
/**
* Returns the attributes in the model that should be rendered by this view.
*/
public Set<String> getRenderedAttributes() {
return renderedAttributes;
}
/**
* Sets the attributes in the model that should be rendered by this view. When set, all other model attributes will be
* ignored.