protectedFields property

Set<String> protectedFields
final

The fields no page data is ever made from: the model's @DVModel.sensitiveField()s and the fields naming its privacy subject.

Page data is what the head, the structured data, the crawler text and the static build are made from, and it is cached per path and served to everyone. So these stay out of it even for a viewer the model's viewSensitive policy admits: that viewer sees them on the rendered page, never in a document the next reader is handed. Applied here as well as by the generator, so a spec that names one as the title, the content or the image still does not publish it.

Implementation

final Set<String> protectedFields;