01: /*
02: * Created on 8 Nov 2006
03: */
04: package uk.org.ponder.rsf.content;
05:
06: /** Allows a view to report the content type used for its rendering **/
07:
08: public interface ContentTypeReporter {
09: /** Return a String key which can be used to index a {@link ContentTypeInfo}
10: * entry as returned from the {@link ContentTypeInfoFactory}. Sample type
11: * keys may be found in {@link ContentTypeInfoRegistry}.
12: */
13: public String getContentType();
14: }
|